Commit Graph

25 Commits

Author SHA1 Message Date
Zuul 760d255a54 Merge "Add git submodule threads" 2021-04-10 13:47:25 +00:00
Pawel Piatek b8f0e75d34 Add git submodule threads
Signed-off-by: Pawel Piatek <xj@wp.pl>
Change-Id: I3dbc0e710460a5f55d4146cb1dd70e1ac3560e68
2021-03-18 12:39:34 +01:00
sp-ricard-valverde c1d8a41666 feat(scm): add git extension for lfs-pull
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
2021-03-16 18:29:56 +01:00
Igor Lakhtenkov 05149cf329 Added SparseCheckout trait to the git extentions
Change-Id: I01e01cf1f6c07220de7f05ae67ffee6a924f5d08
Task: #41625
2021-01-20 20:42:22 +03:00
Igor Lakhtenkov bdedf1460c Added support of SCM Filter branch PR behavior filters for multibranch projects
Change-Id: I29d1050f021d509ca021136cc90a113756cd11cf
Task: #41308
2021-01-04 12:50:11 +03:00
AnnA Tikhonova 6ddb8f7d35 Support "All Strategies Match" and "Any Strategies Match"
Support recursive build strategies from Basic Branch Build
Strategies Plugin

Change-Id: Idc1d2bc679ba489f5ef487648cca1e9044084990
Signed-off-by: Anna Tikhonova <anna.m.tikhonova@gmail.com>
2020-11-02 23:30:49 +03:00
Zuul 35457bfd1c Merge "feat: support the skip-notifications-trait plugin for git repos" 2020-09-25 07:45:27 +00:00
Giel van Schijndel c1e3807ac7 feat: support the skip-notifications-trait plugin for git repos
Change-Id: If466d36671a8d87e0543d625f5b4e5302111874d
2020-09-16 18:53:18 +02:00
Giel van Schijndel eec4770574 feat: add support for specifying the git user's identity
This gives control over who's identity gets used for newly created
commits.

Change-Id: I8ceaabdaafa2be9c4abcfea8a2afb847d01ed0e6
2020-09-16 18:48:22 +02:00
Zuul afc2b6fd42 Merge "multibranch: Add refspecs trait to bitbucket scm" 2020-09-08 13:57:43 +00:00
Matt Kucia 6367f04fcf multibranch: Add lfs pull trait to bitbucket scm
Change-Id: Ibf89cdfbfb6fc791f92a21d07442475325f46a3c
2020-09-02 12:32:25 +00:00
Matt Kucia 74d2e1302c multibranch: Add refspecs trait to bitbucket scm
Change-Id: Id0d65a89d044cbf0c7455f5c79bfaae226f74ada
2020-09-02 12:32:16 +00:00
Chris Koehnke a90f084f93 Add 'skip-initial-build' to project multibranch
Adds support for the skip initial build option added by
https://github.com/jenkinsci/basic-branch-build-strategies-plugin/pull/4.

Change-Id: I903de7605fa1f0e3ada027ada07a7972d2ca9603
2019-04-26 13:14:09 -04:00
sbussetti dbbca01833 Adds support for Property Strategies
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>
2018-11-27 09:01:20 -05:00
trane9991 92f18515b4 Extend multibranch pipeline project scm
Add suport of available extensions from default git scm
Story #2003620
Task #25743
Change-Id: I62f8018fb49d239ab634b502e51005a1465a81d9
2018-09-12 19:37:25 +03:00
Paul Theunissen c56d688c43 Add multibranch features
Adds the following features:
* discover-pr-forks-strategy
* discover-pr-forks-trust
* local-branch
* checkout-over-ssh
* checkout-over-ssh-credentials
* filter-by-name-wildcard
* filter-by-name-wildcard-include
* filter-by-name-wildcard-exclude

Change-Id: I475086b73e1e485552279ee7ba03866d610afb07
2018-09-06 10:37:55 +02:00
Olivier Bierlaire 2a654987eb Add support for Basic Branch Build Strategies Plugin
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
2018-07-16 12:51:56 +02:00
Sorin Sbarnea 4953756c27
adopt pre-commit hooks
Change-Id: I98bc0b5717c3921b35e74f53c55f896427880a84
Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
2018-07-12 13:40:38 +01:00
Kevin de Berk 2d6a0c7a53 multibranch-bitbucket: discover strategies
Can specify discover-branch and discover-pr-origin strategies. Changes
are based on existing code for multibranch-github implementation.

Change-Id: I8e5e29df9d04339c19a61180143bc0e14395aa58
2018-06-22 14:48:02 +02:00
Kevin de Berk d1e2f75ec5 multibranch-bitbucket regex for source branches
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
2018-06-22 10:46:41 +02:00
Zuul 85d16244a1 Merge "multibranch: Configurable script-path" 2018-06-21 17:36:35 +00:00
Kevin de Berk 48ab60c6db multibranch-bitbucket: Configure server address
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
2018-06-20 17:41:40 +02:00
Kevin de Berk 177d51b881 multibranch: Configurable script-path
By default the script-path is set to 'Jenkinsfile', but it can now be
configured.

Change-Id: If02468b292b6b771b3794ea0606acd233c2e9e4b
2018-06-20 10:09:38 +02:00
Konrad Beiske af6b031d09 Add discover-tags to multibranch pipeline project
Add the option to specify discover-tags on bitbucket, git and
github SCMs in multibranch pipeline.

Change-Id: I28a4bc3a4bb5d50b8d7717b19ef063a23a68ed8c
Task: 20061
Story: 2002187
2018-06-08 21:15:12 +02:00
Joost van der Griendt efc5fbe0fd Add multibranch project-type
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>
2018-03-15 16:51:32 +00:00