987dbc4d2b
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>
73 lines
3.4 KiB
XML
73 lines
3.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<project>
|
|
<triggers class="vector">
|
|
<org.jenkinsci.plugins.ghprb.GhprbTrigger>
|
|
<configVersion>3</configVersion>
|
|
<spec>* * * * *</spec>
|
|
<cron>* * * * *</cron>
|
|
<adminlist>user1
|
|
user2</adminlist>
|
|
<whitelist>user3
|
|
user4</whitelist>
|
|
<orgslist>org1
|
|
org2</orgslist>
|
|
<blackListCommitAuthor/>
|
|
<whiteListLabels/>
|
|
<blackListLabels/>
|
|
<excludedRegions/>
|
|
<includedRegions/>
|
|
<buildDescTemplate/>
|
|
<allowMembersOfWhitelistedOrgsAsAdmin>true</allowMembersOfWhitelistedOrgsAsAdmin>
|
|
<triggerPhrase>retest this please</triggerPhrase>
|
|
<skipBuildPhrase/>
|
|
<onlyTriggerPhrase>true</onlyTriggerPhrase>
|
|
<useGitHubHooks>true</useGitHubHooks>
|
|
<permitAll>false</permitAll>
|
|
<autoCloseFailedPullRequests>false</autoCloseFailedPullRequests>
|
|
<displayBuildErrorsOnDownstreamBuilds>false</displayBuildErrorsOnDownstreamBuilds>
|
|
<whiteListTargetBranches/>
|
|
<blackListTargetBranches/>
|
|
<extensions>
|
|
<org.jenkinsci.plugins.ghprb.extensions.status.GhprbSimpleStatus>
|
|
<commitStatusContext>test status context</commitStatusContext>
|
|
<triggeredStatus>triggered status message</triggeredStatus>
|
|
<startedStatus>started status message</startedStatus>
|
|
<statusUrl>http://example.com/status</statusUrl>
|
|
<addTestResults>true</addTestResults>
|
|
<completedStatus>
|
|
<org.jenkinsci.plugins.ghprb.extensions.comments.GhprbBuildResultMessage>
|
|
<message>success status!</message>
|
|
<result>SUCCESS</result>
|
|
</org.jenkinsci.plugins.ghprb.extensions.comments.GhprbBuildResultMessage>
|
|
<org.jenkinsci.plugins.ghprb.extensions.comments.GhprbBuildResultMessage>
|
|
<message>failure status :(</message>
|
|
<result>FAILURE</result>
|
|
</org.jenkinsci.plugins.ghprb.extensions.comments.GhprbBuildResultMessage>
|
|
<org.jenkinsci.plugins.ghprb.extensions.comments.GhprbBuildResultMessage>
|
|
<message>error status?!</message>
|
|
<result>ERROR</result>
|
|
</org.jenkinsci.plugins.ghprb.extensions.comments.GhprbBuildResultMessage>
|
|
</completedStatus>
|
|
</org.jenkinsci.plugins.ghprb.extensions.status.GhprbSimpleStatus>
|
|
<org.jenkinsci.plugins.ghprb.extensions.comments.GhprbBuildStatus>
|
|
<messages>
|
|
<org.jenkinsci.plugins.ghprb.extensions.comments.GhprbBuildResultMessage>
|
|
<message>success comment</message>
|
|
<result>SUCCESS</result>
|
|
</org.jenkinsci.plugins.ghprb.extensions.comments.GhprbBuildResultMessage>
|
|
<org.jenkinsci.plugins.ghprb.extensions.comments.GhprbBuildResultMessage>
|
|
<message>failure comment</message>
|
|
<result>FAILURE</result>
|
|
</org.jenkinsci.plugins.ghprb.extensions.comments.GhprbBuildResultMessage>
|
|
<org.jenkinsci.plugins.ghprb.extensions.comments.GhprbBuildResultMessage>
|
|
<message>error comment</message>
|
|
<result>ERROR</result>
|
|
</org.jenkinsci.plugins.ghprb.extensions.comments.GhprbBuildResultMessage>
|
|
</messages>
|
|
</org.jenkinsci.plugins.ghprb.extensions.comments.GhprbBuildStatus>
|
|
<org.jenkinsci.plugins.ghprb.extensions.build.GhprbCancelBuildsOnUpdate/>
|
|
</extensions>
|
|
</org.jenkinsci.plugins.ghprb.GhprbTrigger>
|
|
</triggers>
|
|
</project>
|