Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux_wiki:jenkins_multibranch_pipeline [2019/06/23 17:52] billdozor created |
linux_wiki:jenkins_multibranch_pipeline [2019/07/13 20:39] billdozor [Build Strategies] |
||
---|---|---|---|
Line 44: | Line 44: | ||
Build strategies are ways to limit what branches are built and when. | Build strategies are ways to limit what branches are built and when. | ||
- | * FIXME - to add some build strategies. | + | * " |
+ | * Do not build on changes during a multibranch scan. | ||
+ | * **Note**: This strategy is removed when you install the plugin "Basic Branch Build Strategies Plugin" | ||
+ | |||
+ | * Install the plugin: [[https:// | ||
+ | * "All Strategies Match" | ||
+ | * The strategies contained are all used together. This strategy must be used to contain the next two if you don't want automatic scm triggering. | ||
+ | * "Skip initial build on first branch indexing" | ||
+ | * Don't build upon initial branch discovery (will build every time after if changes are discovered unless further | ||
+ | * "Named Branches" | ||
+ | * Add " | ||
+ | * " | ||
+ | * This will exclude all matched branch names from building - useful if you only want to build branches explicitly and not automatically. (such as deploy jobs) You could also only exclude branches that may deploy to production (For example: master) | ||
---- | ---- | ||