Details
-
New Feature
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
There should be an option to create branch projects automatically wherever a Jenkinsfile is detected, yet suppress the automatic SCM trigger which fires when branch indexing detects a new branch head. Manual or other automatic scheduled builds should still be possible.
Needs to be supported as a configuration option at least at the level of a single multibranch project, or an organization folder. TBD whether there is a need to reinstate the built-in SCM trigger for certain branches, certain repos, etc.
Attachments
Issue Links
- depends on
-
JENKINS-30206 Multibranch plugin: Modified properties do not propagate to existing branches
-
- Open
-
- is duplicated by
-
JENKINS-33909 Prevent automatic trigger of of jobs once scan has created them
-
- Resolved
-
- is related to
-
JENKINS-34725 Multibranch Plugin: Shouldn't run every branch on re-index
-
- Closed
-
-
JENKINS-64896 overrideIndexTriggers not respected on PRs
-
- Open
-
-
JENKINS-34005 Make WorkflowJob.triggers into a JobProperty
-
- Resolved
-
- relates to
-
JENKINS-45814 "Suppress automatic SCM triggering" prevents push notifications
-
- Closed
-
-
JENKINS-37220 Job DSL analogue of multibranch projects & organization folders
-
- Open
-
- links to
Code changed in jenkins
User: Jesse Glick
Path:
pom.xml
src/main/java/jenkins/branch/BranchIndexingCause.java
src/main/java/jenkins/branch/BranchProperty.java
src/main/java/jenkins/branch/NoTriggerBranchProperty.java
src/main/java/jenkins/branch/NoTriggerOrganizationFolderProperty.java
src/main/java/jenkins/branch/OrganizationFolder.java
src/main/resources/jenkins/branch/Messages.properties
src/main/resources/jenkins/branch/NoTriggerBranchProperty/config.jelly
src/main/resources/jenkins/branch/NoTriggerBranchProperty/help.html
src/main/resources/jenkins/branch/NoTriggerOrganizationFolderProperty/config.jelly
src/main/resources/jenkins/branch/NoTriggerOrganizationFolderProperty/help-branches.html
src/main/resources/jenkins/branch/harness/BranchProjectFactoryImpl/config.jelly
src/test/java/jenkins/branch/NoTriggerBranchPropertyTest.java
src/test/java/jenkins/branch/NoTriggerOrganizationFolderPropertyTest.java
src/test/java/jenkins/branch/harness/BranchProjectFactoryImpl.java
src/test/java/jenkins/branch/harness/MultiBranchImpl.java
http://jenkins-ci.org/commit/branch-api-plugin/b02297b7ba5c01d40403540badb40b6087ff2394
Log:
Merge pull request #43 from jglick/NoTriggerBranchProperty-
JENKINS-32396JENKINS-32396Option to suppress automatic SCM triggerCompare: https://github.com/jenkinsci/branch-api-plugin/compare/0400b7dbb8dd...b02297b7ba5c