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

Hide job action (at least optionally) from UI

    XMLWordPrintable

Details

    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

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

            olivergondza Oliver Gondža added a comment - Another option is to introduction confirm parameter for core url to do the same thing.
            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

            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
            olivergondza Oliver Gondža added a comment - Proposing to hide the action entirely: https://github.com/jenkinsci/build-with-parameters-plugin/pull/9

            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

            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

            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

            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

            Fixed in 1.3

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

            People

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

              Dates

                Created:
                Updated:
                Resolved: