Add a missing extension to git scm which enables the option to do
"Git LFS pull after checkout"
Add lfs-pull fixtures
Change-Id: Ie8b98877f3f282ac0b32dbeb089e6d0d9ccc25c8
Multibranch pipeline jobs also support "Property Strategy" elements.
These are fairly limited, but do contain the very useful "Suppress
automatic SCM triggering" trait. This commit adds support for
defining these for the "All branches get the same properties"
strategy, and could be easily amended to also support the "Named
branches get different properties" strategy in a future update.
Change-Id: I3d9281657e341260a23f357f6e247793379b0eed
Signed-off-by: sbussetti <steve.bussetti@gmail.com>
Add optional parameter build-strategies to multibranch scm sections
(github, bitbucket, gerrit, git) in order to configure Basic Branch
Build Strategies Plugin
(https://github.com/jenkinsci/basic-branch-build-strategies-plugin).
This plugin allows control over whether to build a branch (or change
requests and tags). This also enables triggering builds on new tags
(normally the Multibranch Pipeline does not poll tags).
Change-Id: I908fe7c0ec81eb8503669177c337135fc4081a62
Task: 22732
Story: 2002816
Can specify discover-branch and discover-pr-origin strategies. Changes
are based on existing code for multibranch-github implementation.
Change-Id: I8e5e29df9d04339c19a61180143bc0e14395aa58
With the SCM API Plugin, a user can specify a regular expression to
filter discovered source branches. This behavior is now also
configurable from within the yaml configuration.
Change-Id: Iff7e385058134e9f072e8b219ec27ff7b9adf2dd
If the field is not specified, the value will not appear in the XML. The
value is then decided by the Jenkins configuration.
Change-Id: Ic373069ea916327778fb2fe567ddf578f03abd9e
Add the option to specify discover-tags on bitbucket, git and
github SCMs in multibranch pipeline.
Change-Id: I28a4bc3a4bb5d50b8d7717b19ef063a23a68ed8c
Task: 20061
Story: 2002187
This work was based on original work done by
Joshua Harlow on top of older code from:
https://github.com/abnamrocoesd/jenkins-job-builder/
Credit is due to `Joost van der Griendt` for doing this
work. This builds on his work in that repo, and adjusts it
so that it can get merged into upstream and released
as a fully supported job type.
SCM implementation is different than than normal SCM module,
supporting: BitBucket, git, and GitHub in this initial
patch.
Change-Id: If50a54d282dd7d901c16edb9fe04874bdd83c9ef
Co-Authored-By: Joshua Harlow <jxharlow@godaddy.com>
Co-Authored-By: Sorin Sbarnea <ssbarnea@redhat.com>
Co-Authored-By: Thanh Ha <zxiiro@linux.com>
Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
Signed-off-by: Thanh Ha <zxiiro@linux.com>
Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>