-
Improvement
-
Resolution: Won't Do
-
Minor
-
None
-
java: openjdk-7
os: ubuntu14.04
Whenever a multi branch project gets reindexed, every branch with a discovered Jenkinsfile triggers a build. I have logic in my Jenkinsfiles that actually deploys into a specified infrastructure environment if a build is triggered on the develop branch. If the project gets re-indexed, then Jenkins will attempt to deploy (and not just test) when I would strongly prefer that it not deploy.
It would be an improvement to allow users to configure indexing to only initiate a build if the branch is new to the multi branch project. I believe this would be the preferred behavior for many.
- depends on
-
JENKINS-34005 Make WorkflowJob.triggers into a JobProperty
-
- Resolved
-
- is related to
-
JENKINS-32396 Option to suppress automatic SCM trigger
-
- Resolved
-
- links to
[JENKINS-34725] Multibranch Plugin: Shouldn't run every branch on re-index
Component/s | New: branch-api-plugin [ 18621 ] | |
Component/s | New: workflow-multibranch-plugin [ 21465 ] | |
Component/s | Original: multi-branch-project-plugin [ 21127 ] |
Assignee | Original: Matthew DeTullio [ mjdetullio ] | New: Stephen Connolly [ stephenconnolly ] |
Link |
New:
This issue is related to |
Link |
New:
This issue depends on |
Workflow | Original: JNJira [ 170906 ] | New: JNJira + In-Review [ 184087 ] |
Resolution | New: Won't Do [ 10001 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
You can already disable the trigger.
JENKINS-34005proposes adding a Jenkinsfile-based control which would let you conditionally reinstate it for noninitial builds.