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

Build triggered by SCM change without activating trigger in the job configuration

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      In case you use the same repo in different jobs and you check the option "Build when a change is pushed to BitBucket" ONLY in one of them, then the BitBucket plugin will trigger all the jobs that use the same repo even if in the rest of them you didn't check this checkbox.

      This seems to be due onPost function in BitBucketTrigger that uses GitStatus.onNotifyCommit. .

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Felix Belzunce Arcos
          Path:
          .gitignore
          src/main/java/com/cloudbees/jenkins/plugins/BitBucketPushCause.java
          src/main/java/com/cloudbees/jenkins/plugins/BitBucketTrigger.java
          src/main/java/com/cloudbees/jenkins/plugins/BitbucketHookReceiver.java
          http://jenkins-ci.org/commit/bitbucket-plugin/c88b282c301ae9902371a91bff9317dfa56d677f
          Log:
          Fix for JENKINS-24999

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Felix Belzunce Arcos Path: .gitignore src/main/java/com/cloudbees/jenkins/plugins/BitBucketPushCause.java src/main/java/com/cloudbees/jenkins/plugins/BitBucketTrigger.java src/main/java/com/cloudbees/jenkins/plugins/BitbucketHookReceiver.java http://jenkins-ci.org/commit/bitbucket-plugin/c88b282c301ae9902371a91bff9317dfa56d677f Log: Fix for JENKINS-24999
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Nicolas De loof
          Path:
          .gitignore
          src/main/java/com/cloudbees/jenkins/plugins/BitBucketPushCause.java
          src/main/java/com/cloudbees/jenkins/plugins/BitBucketTrigger.java
          src/main/java/com/cloudbees/jenkins/plugins/BitbucketHookReceiver.java
          http://jenkins-ci.org/commit/bitbucket-plugin/a035a1b8b27a6efc90c65e7b389bf325d792acb6
          Log:
          Merge pull request #1 from fbelzunc/master

          Fix for JENKINS-24999

          Compare: https://github.com/jenkinsci/bitbucket-plugin/compare/059d3803887c...a035a1b8b27a

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De loof Path: .gitignore src/main/java/com/cloudbees/jenkins/plugins/BitBucketPushCause.java src/main/java/com/cloudbees/jenkins/plugins/BitBucketTrigger.java src/main/java/com/cloudbees/jenkins/plugins/BitbucketHookReceiver.java http://jenkins-ci.org/commit/bitbucket-plugin/a035a1b8b27a6efc90c65e7b389bf325d792acb6 Log: Merge pull request #1 from fbelzunc/master Fix for JENKINS-24999 Compare: https://github.com/jenkinsci/bitbucket-plugin/compare/059d3803887c...a035a1b8b27a
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Felix Belzunce Arcos
          Path:
          src/main/java/com/cloudbees/jenkins/plugins/BitBucketTrigger.java
          src/main/java/com/cloudbees/jenkins/plugins/BitbucketHookReceiver.java
          http://jenkins-ci.org/commit/bitbucket-plugin/d5e9cb6a15d9ed1e2313fa656a2361170c74042e
          Log:
          JENKINS-24999

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Felix Belzunce Arcos Path: src/main/java/com/cloudbees/jenkins/plugins/BitBucketTrigger.java src/main/java/com/cloudbees/jenkins/plugins/BitbucketHookReceiver.java http://jenkins-ci.org/commit/bitbucket-plugin/d5e9cb6a15d9ed1e2313fa656a2361170c74042e Log: JENKINS-24999
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Nicolas De loof
          Path:
          src/main/java/com/cloudbees/jenkins/plugins/BitBucketTrigger.java
          src/main/java/com/cloudbees/jenkins/plugins/BitbucketHookReceiver.java
          http://jenkins-ci.org/commit/bitbucket-plugin/3e96df05dbf8d8e3a0b896c18f28a48b3fcd2c97
          Log:
          Merge pull request #4 from fbelzunc/JENKINS-24999

          [Fixed JENKINS-24999] Build triggered by SCM change without activating trigger in the job configuration

          Compare: https://github.com/jenkinsci/bitbucket-plugin/compare/a035a1b8b27a...3e96df05dbf8

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De loof Path: src/main/java/com/cloudbees/jenkins/plugins/BitBucketTrigger.java src/main/java/com/cloudbees/jenkins/plugins/BitbucketHookReceiver.java http://jenkins-ci.org/commit/bitbucket-plugin/3e96df05dbf8d8e3a0b896c18f28a48b3fcd2c97 Log: Merge pull request #4 from fbelzunc/ JENKINS-24999 [Fixed JENKINS-24999] Build triggered by SCM change without activating trigger in the job configuration Compare: https://github.com/jenkinsci/bitbucket-plugin/compare/a035a1b8b27a...3e96df05dbf8

            People

            Assignee:
            fbelzunc Félix Belzunce Arcos
            Reporter:
            fbelzunc Félix Belzunce Arcos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: