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

disabled project can be triggered remotely

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      A freestyle project triggered remotely via the REST API starts a build even when the project is disabled.
      ParameterizedJobMixIn#doBuildWithParameters does not check isBuildable()

        Attachments

          Activity

          mario_javanet mario_javanet created issue -
          Hide
          godfath3r Panagiotis Galatsanos added a comment -

          What is your version of Jenkins? I cannot reproduce it.

          Show
          godfath3r Panagiotis Galatsanos added a comment - What is your version of Jenkins? I cannot reproduce it.
          Hide
          danielbeck Daniel Beck added a comment -

          Panagiotis Galatsanos Recent Jenkins (any Jenkins 2.x should do), and use the /buildWithParameters endpoint.

          Show
          danielbeck Daniel Beck added a comment - Panagiotis Galatsanos Recent Jenkins (any Jenkins 2.x should do), and use the /buildWithParameters endpoint.
          Hide
          godfath3r Panagiotis Galatsanos added a comment -

          Thanks for pointing out Daniel. I've just made a pull request: https://github.com/jenkinsci/jenkins/pull/2431

          Show
          godfath3r Panagiotis Galatsanos added a comment - Thanks for pointing out Daniel. I've just made a pull request: https://github.com/jenkinsci/jenkins/pull/2431
          Hide
          godfath3r Panagiotis Galatsanos added a comment -

          new pull request available here: https://github.com/jenkinsci/jenkins/pull/2432

          Show
          godfath3r Panagiotis Galatsanos added a comment - new pull request available here: https://github.com/jenkinsci/jenkins/pull/2432
          godfath3r Panagiotis Galatsanos made changes -
          Field Original Value New Value
          Assignee Daniel Beck [ danielbeck ] Panagiotis Galatsanos [ godfath3r ]
          godfath3r Panagiotis Galatsanos made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          danielbeck Daniel Beck made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          danielbeck Daniel Beck made changes -
          Labels lts-candidate
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 172854 ] JNJira + In-Review [ 199348 ]
          olivergondza Oliver Gond┼ża made changes -
          Labels lts-candidate 2.7.3-fixed

            People

            Assignee:
            godfath3r Panagiotis Galatsanos
            Reporter:
            mario_javanet mario_javanet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: