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

disabled project can be triggered remotely

    XMLWordPrintable

Details

    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

          godfath3r Panagiotis Galatsanos added a comment - new pull request available here: https://github.com/jenkinsci/jenkins/pull/2432

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

          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
          danielbeck Daniel Beck added a comment -

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

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

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

          godfath3r Panagiotis Galatsanos added a comment - What is your version of Jenkins? I cannot reproduce it.

          People

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

            Dates

              Created:
              Updated:
              Resolved: