-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
Running jenkins 2.15 with pipeline-multibranch 2.8.
-
-
branch-api-plugin-2.6.0
Currently, for an individual pipeline job I can set a quiet time to avoid one-for-one commit-to-build ratio when there are many commits in a short time. I like to use the multibranch plugin to allow branch automation, but there does not appear to be a way for a multibranch config (either the meta-job itself or from within a Jenkinsfile) to define a quiet time or some other ability to throttle job runs.
- is duplicated by
-
JENKINS-54052 MultibranchProject ignores quietPeriod
-
- Closed
-
-
JENKINS-40464 Support settings Quiet Period in multibranch pipeline builds
-
- Resolved
-
- relates to
-
JENKINS-51227 Quiet period should be configured from declarative pipelines
-
- Closed
-
- links to
addib I tested it (Declarative) in multibranch as ogmueller reported and I had luck to see it working. Unfortunately I needed it to work in scripted mode because JTE (Jenking Template Engine) does not support Declarative.
I ended up using this instruction and it works!
}}{{currentBuild.rawBuild.getParent().setQuietPeriod(10){{}}
About maven-release-plugin, I prefer not to use it anymor. Now I'm using :
https://github.com/aleksandr-m/gitflow-maven-plugin{{}}