Commit Graph

13 Commits

Author SHA1 Message Date
Michal Szelag 429118b487 Fixing ignore-tags-newer-than inverted with ignore-tags-older-than.
Also fix test Scenario name.

Story: 2004614
Task: 28518

Change-Id: I0d0f633ffa4d10f4d1491589dc9da69ae9d3f463
2023-12-17 13:10:49 +03:00
Johannes Carlsson 76cc236d8a Add support for abort-builds
This was added to the cloudbees-folder-plugin JENKINS-60677.

Change-Id: Iacc1afcee0355d6b60a2f4e76364b4b980da7908
2022-06-22 14:07:39 +02:00
Johannes Carlsson e064158d05 Add head-filter-regex to gerrit_scm
This makes it possible to filter branches with regular expressions
also when using the gerrit_scm.

Change-Id: Ie43674cccf942420d42e1ee4fd194db30b09d19f
2022-06-22 10:44:06 +02:00
Pat Long 46082807fa Extend multibranch pipeline project gerrit scm
Support was previously added for the other multibranch pipeline scms,
but not for gerrit. This change makes adds support for available git
extensions to the gerrit multibranch pipeline scm.

Previous review: https://review.opendev.org/c/jjb/jenkins-job-builder/+/601323

Change-Id: Ie7553ff310e844bbe912b694b09f97450c609491
Signed-off-by: Pat Long <pllong@arista.com>
2021-09-10 10:47:03 -04: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
Luca Milanesio 9797703801 Experimental support for filterChecks trait
The gerrit-code-review-plugin v0.4.0 introduces the
integration with Gerrit Checks plugin. Introduce the option
to query for pending checks.

Change-Id: Idb3f290121aa6fbcdc25a0821c9bdc3dd03e21af
2020-01-08 21:58:12 +01:00
Luca Milanesio 8a27ad1ed1 Fix gerrit-code-review plugin name
The GerritSCMSource type for the multibranch pipeline does not
belong to the 'gerrit' plugin but rather to the 'gerrit-code-review'
plugin.

Change-Id: I5edd81a3506847c3e5910ad66d4498a2b8c899e9
2020-01-03 10:43:47 +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
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
Konrad Beiske 30855c22e8 Stable identifier for branch sources in multibranch job
Calculate a stable identifier based on required parameters that make
up the identity of the repository so that jenkins will only require
rescanning the repository if the repository was changed.

Change-Id: I83da1d2478f2771e9c7808e7dbd9e6bcba5025f7
Task:  22887
Story: 2002910
2018-07-10 09:31:32 +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
Sorin Sbarnea 2104602739 Add Gerrit SCM Support to MultiBranch project
Refers to:
https://wiki.jenkins.io/display/JENKINS/Gerrit+Code+Review+Plugin

Change-Id: Ib0c3a6d179e11b91c7a34f3385fd947413291785
Co-Authored-By: Thanh Ha <zxiiro@linux.com>
Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
Signed-off-by: Thanh Ha <zxiiro@linux.com>
2018-04-05 14:44:28 +01:00