Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-25413

Hide job action (at least optionally) from UI

    Details

    • Similar Issues:

      Description

      Users are constantly confused about the difference between "Build with params" from plugin and "Build with parameters" from core. I expect there is no use-case where user would actually click "Build with params" as the whole point is providing get parameters.

      I suggest hiding the action from UI making it only available for direct URL access.

        Attachments

          Issue Links

            Activity

            Hide
            olivergondza Oliver Gondža added a comment -

            Another option is to introduction confirm parameter for core url to do the same thing.

            Show
            olivergondza Oliver Gondža added a comment - Another option is to introduction confirm parameter for core url to do the same thing.
            Hide
            danielbeck Daniel Beck added a comment -

            "Confirm"? Isn't this about providing different default via GET parameters?

            FWIW I've started work on a core change a while back:
            https://github.com/daniel-beck/jenkins/commit/d9f140904b7850c77f68829b2161d8d2ee39e85c

            Show
            danielbeck Daniel Beck added a comment - "Confirm"? Isn't this about providing different default via GET parameters? FWIW I've started work on a core change a while back: https://github.com/daniel-beck/jenkins/commit/d9f140904b7850c77f68829b2161d8d2ee39e85c
            Hide
            olivergondza Oliver Gondža added a comment -
            Show
            olivergondza Oliver Gondža added a comment - Proposing to hide the action entirely: https://github.com/jenkinsci/build-with-parameters-plugin/pull/9
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oliver Gondža
            Path:
            src/main/java/org/jenkinsci/plugins/buildwithparameters/BuildWithParametersAction.java
            src/test/java/org/jenkinsci/plugins/buildwithparameters/BuildWithParametersActionTest.java
            http://jenkins-ci.org/commit/build-with-parameters-plugin/3eced5439281d442cb3bb383705e07b4056ad332
            Log:
            [FIX JENKINS-25413] Hide job action from UI

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: src/main/java/org/jenkinsci/plugins/buildwithparameters/BuildWithParametersAction.java src/test/java/org/jenkinsci/plugins/buildwithparameters/BuildWithParametersActionTest.java http://jenkins-ci.org/commit/build-with-parameters-plugin/3eced5439281d442cb3bb383705e07b4056ad332 Log: [FIX JENKINS-25413] Hide job action from UI
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oliver Gondža
            Path:
            src/main/java/org/jenkinsci/plugins/buildwithparameters/BuildWithParametersAction.java
            src/test/java/org/jenkinsci/plugins/buildwithparameters/BuildWithParametersActionTest.java
            http://jenkins-ci.org/commit/build-with-parameters-plugin/77da9df5d18f96c22818f0613104d60f3759e8e0
            Log:
            Merge pull request #9 from olivergondza/JENKINS-25413

            [FIX JENKINS-25413] Hide job action from UI

            Compare: https://github.com/jenkinsci/build-with-parameters-plugin/compare/39e9d9033b30...77da9df5d18f

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: src/main/java/org/jenkinsci/plugins/buildwithparameters/BuildWithParametersAction.java src/test/java/org/jenkinsci/plugins/buildwithparameters/BuildWithParametersActionTest.java http://jenkins-ci.org/commit/build-with-parameters-plugin/77da9df5d18f96c22818f0613104d60f3759e8e0 Log: Merge pull request #9 from olivergondza/ JENKINS-25413 [FIX JENKINS-25413] Hide job action from UI Compare: https://github.com/jenkinsci/build-with-parameters-plugin/compare/39e9d9033b30...77da9df5d18f
            Hide
            olivergondza Oliver Gondža added a comment -

            Fixed in 1.3

            Show
            olivergondza Oliver Gondža added a comment - Fixed in 1.3

              People

              • Assignee:
                olivergondza Oliver Gondža
                Reporter:
                olivergondza Oliver Gondža
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: