diff options
author | Eren ATAS <eatas.contractor@libertyglobal.com> | 2020-06-24 12:49:50 +0200 |
---|---|---|
committer | Eren ATAS <eatas.contractor@libertyglobal.com> | 2020-07-07 11:20:46 +0200 |
commit | 987dbc4d2bf47502ba3ba367e8b62b5c629e9f73 (patch) | |
tree | 997a86bb8bb2202cf4e9d4f2c1d9c807bf86c08a /tests/yamlparser/fixtures | |
parent | 28e43831e9facb5bdd1169f3af845aad5bf0c717 (diff) | |
download | python-jenkins-job-builder-987dbc4d2bf47502ba3ba367e8b62b5c629e9f73.tar.gz python-jenkins-job-builder-987dbc4d2bf47502ba3ba367e8b62b5c629e9f73.tar.xz python-jenkins-job-builder-987dbc4d2bf47502ba3ba367e8b62b5c629e9f73.zip |
Updated GHPRB plugin support
Implemented the following tags that have been missing:
- displayBuildErrorsOnDownstreamBuilds
- blackListCommitAuthor
- GhprbCommentFile
- GhprbNoCommitStatus
Following tags are printed when the value of the key is empty:
- whiteListTargetBranches
- blackListTargetBranches
- buildDescTemplate
- triggeredStatus
- startedStatus
- statusUrl
- addTestResults
Also updated tests
Change-Id: I1e19841d88728af9ac6aa9e1c78f89fe962a583f
Signed-off-by: Eren ATAS <eatas.contractor@libertyglobal.com>
Diffstat (limited to 'tests/yamlparser/fixtures')
-rw-r--r-- | tests/yamlparser/fixtures/github_cancel_builds_on_update_variable001.xml | 10 | ||||
-rw-r--r-- | tests/yamlparser/fixtures/github_cancel_builds_on_update_variable002.xml | 10 |
2 files changed, 16 insertions, 4 deletions
diff --git a/tests/yamlparser/fixtures/github_cancel_builds_on_update_variable001.xml b/tests/yamlparser/fixtures/github_cancel_builds_on_update_variable001.xml index 0832d960..b22d1095 100644 --- a/tests/yamlparser/fixtures/github_cancel_builds_on_update_variable001.xml +++ b/tests/yamlparser/fixtures/github_cancel_builds_on_update_variable001.xml @@ -11,22 +11,28 @@ <scm class="hudson.scm.NullSCM"/> <triggers class="vector"> <org.jenkinsci.plugins.ghprb.GhprbTrigger> + <configVersion>3</configVersion> + <spec/> + <cron/> <adminlist/> <whitelist/> <orgslist/> + <blackListCommitAuthor/> <whiteListLabels/> <blackListLabels/> <excludedRegions/> <includedRegions/> - <spec/> + <buildDescTemplate/> <allowMembersOfWhitelistedOrgsAsAdmin>false</allowMembersOfWhitelistedOrgsAsAdmin> - <cron/> <triggerPhrase/> <skipBuildPhrase/> <onlyTriggerPhrase>false</onlyTriggerPhrase> <useGitHubHooks>false</useGitHubHooks> <permitAll>false</permitAll> <autoCloseFailedPullRequests>false</autoCloseFailedPullRequests> + <displayBuildErrorsOnDownstreamBuilds>false</displayBuildErrorsOnDownstreamBuilds> + <whiteListTargetBranches/> + <blackListTargetBranches/> <extensions> <org.jenkinsci.plugins.ghprb.extensions.build.GhprbCancelBuildsOnUpdate/> </extensions> diff --git a/tests/yamlparser/fixtures/github_cancel_builds_on_update_variable002.xml b/tests/yamlparser/fixtures/github_cancel_builds_on_update_variable002.xml index 1d913309..14790269 100644 --- a/tests/yamlparser/fixtures/github_cancel_builds_on_update_variable002.xml +++ b/tests/yamlparser/fixtures/github_cancel_builds_on_update_variable002.xml @@ -11,22 +11,28 @@ <scm class="hudson.scm.NullSCM"/> <triggers class="vector"> <org.jenkinsci.plugins.ghprb.GhprbTrigger> + <configVersion>3</configVersion> + <spec/> + <cron/> <adminlist/> <whitelist/> <orgslist/> + <blackListCommitAuthor/> <whiteListLabels/> <blackListLabels/> <excludedRegions/> <includedRegions/> - <spec/> + <buildDescTemplate/> <allowMembersOfWhitelistedOrgsAsAdmin>false</allowMembersOfWhitelistedOrgsAsAdmin> - <cron/> <triggerPhrase/> <skipBuildPhrase/> <onlyTriggerPhrase>false</onlyTriggerPhrase> <useGitHubHooks>false</useGitHubHooks> <permitAll>false</permitAll> <autoCloseFailedPullRequests>false</autoCloseFailedPullRequests> + <displayBuildErrorsOnDownstreamBuilds>false</displayBuildErrorsOnDownstreamBuilds> + <whiteListTargetBranches/> + <blackListTargetBranches/> </org.jenkinsci.plugins.ghprb.GhprbTrigger> </triggers> <builders/> |