diff options
author | Ivan Fernandez Calvo <kuisathaverat@yahoo.com> | 2019-07-01 12:56:33 +0200 |
---|---|---|
committer | Thanh Ha <zxiiro@gmail.com> | 2019-07-02 12:25:34 -0400 |
commit | 073e7bb5e54d69ee069b15e79b1d1e2d18fc28c0 (patch) | |
tree | 0f82801e3156d8238d190e26b1f7586a8024a8bd /tests | |
parent | 5d15fe76314976f54572f35292de4a8b85c778e9 (diff) | |
download | python-jenkins-job-builder-073e7bb5e54d69ee069b15e79b1d1e2d18fc28c0.tar.gz python-jenkins-job-builder-073e7bb5e54d69ee069b15e79b1d1e2d18fc28c0.tar.xz python-jenkins-job-builder-073e7bb5e54d69ee069b15e79b1d1e2d18fc28c0.zip |
Add support for GH Custom Notification Context
Task: #35637
Story: #2006141
Change-Id: Id4bbc73a709a7cd292072ab66666bd647f0514a6
Diffstat (limited to 'tests')
-rw-r--r-- | tests/multibranch/fixtures/scm_github_full.xml | 4 | ||||
-rw-r--r-- | tests/multibranch/fixtures/scm_github_full.yaml | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/multibranch/fixtures/scm_github_full.xml b/tests/multibranch/fixtures/scm_github_full.xml index 208c0abb..2d914b2b 100644 --- a/tests/multibranch/fixtures/scm_github_full.xml +++ b/tests/multibranch/fixtures/scm_github_full.xml @@ -55,6 +55,10 @@ <jenkins.scm.impl.trait.RegexSCMHeadFilterTrait> <regex>(.*/master|.*/release/.*)</regex> </jenkins.scm.impl.trait.RegexSCMHeadFilterTrait> + <org.jenkinsci.plugins.githubScmTraitNotificationContext.NotificationContextTrait> + <contextLabel>jenkins.example.com/my_context</contextLabel> + <typeSuffix>true</typeSuffix> + </org.jenkinsci.plugins.githubScmTraitNotificationContext.NotificationContextTrait> <jenkins.plugins.git.traits.CleanAfterCheckoutTrait> <extension class="hudson.plugins.git.extensions.impl.CleanCheckout"/> </jenkins.plugins.git.traits.CleanAfterCheckoutTrait> diff --git a/tests/multibranch/fixtures/scm_github_full.yaml b/tests/multibranch/fixtures/scm_github_full.yaml index 842747b6..42350c67 100644 --- a/tests/multibranch/fixtures/scm_github_full.yaml +++ b/tests/multibranch/fixtures/scm_github_full.yaml @@ -15,6 +15,7 @@ scm: discover-pr-forks-trust: everyone discover-pr-origin: both discover-tags: true + notification-context: 'jenkins.example.com/my_context' property-strategies: all-branches: - suppress-scm-triggering: true |