aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNuoHan Qiao <qiaonuohan@cn.fujitsu.com>2016-01-25 03:23:31 -0500
committerNuoHan Qiao <qiaonuohan@cn.fujitsu.com>2016-01-25 03:44:56 -0500
commit69dc8dc97a485da519a5daff79ebf7b0e6a69cfc (patch)
treef5a1a89ca150f7acfffb17bd450b7f6e42558cc6
parentca3a78cff6713258f2606b37e47020e13d4ba672 (diff)
Add configuration file for gerrit trigger plugin
The patch will set up a connection with AGL gerrit. Change-Id: If583335f0bb3936e91892cb194983a5406677847 Signed-off-by: NuoHan Qiao <qiaonuohan@cn.fujitsu.com>
-rw-r--r--frontend-install/plugins/gerrit-trigger.xml49
1 files changed, 49 insertions, 0 deletions
diff --git a/frontend-install/plugins/gerrit-trigger.xml b/frontend-install/plugins/gerrit-trigger.xml
new file mode 100644
index 0000000..9c953e7
--- /dev/null
+++ b/frontend-install/plugins/gerrit-trigger.xml
@@ -0,0 +1,49 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<com.sonyericsson.hudson.plugins.gerrit.trigger.PluginImpl plugin="gerrit-trigger@2.10.1">
+ <config class="com.sonyericsson.hudson.plugins.gerrit.trigger.config.Config">
+ <gerritHostName>gerrit.automotivelinux.org</gerritHostName>
+ <gerritSshPort>29418</gerritSshPort>
+ <gerritProxy></gerritProxy>
+ <gerritUserName>ciat.agl.jta</gerritUserName>
+ <gerritEMail></gerritEMail>
+ <gerritAuthKeyFile>/var/lib/jenkins/.ssh/id_rsa</gerritAuthKeyFile>
+ <gerritBuildCurrentPatchesOnly>false</gerritBuildCurrentPatchesOnly>
+ <numberOfWorkerThreads>3</numberOfWorkerThreads>
+ <gerritVerifiedCmdBuildSuccessful>gerrit approve &lt;CHANGE&gt;,&lt;PATCHSET&gt; --message &apos;Build Successful &lt;BUILDS_STATS&gt;&apos; --verified &lt;VERIFIED&gt; --code-review &lt;CODE_REVIEW&gt;</gerritVerifiedCmdBuildSuccessful>
+ <gerritVerifiedCmdBuildUnstable>gerrit approve &lt;CHANGE&gt;,&lt;PATCHSET&gt; --message &apos;Build Unstable &lt;BUILDS_STATS&gt;&apos; --verified &lt;VERIFIED&gt; --code-review &lt;CODE_REVIEW&gt;</gerritVerifiedCmdBuildUnstable>
+ <gerritVerifiedCmdBuildFailed>gerrit approve &lt;CHANGE&gt;,&lt;PATCHSET&gt; --message &apos;Build Failed &lt;BUILDS_STATS&gt;&apos; --verified &lt;VERIFIED&gt; --code-review &lt;CODE_REVIEW&gt;</gerritVerifiedCmdBuildFailed>
+ <gerritVerifiedCmdBuildStarted>gerrit approve &lt;CHANGE&gt;,&lt;PATCHSET&gt; --message &apos;Build Started &lt;BUILDURL&gt; &lt;STARTED_STATS&gt;&apos; --verified &lt;VERIFIED&gt; --code-review &lt;CODE_REVIEW&gt;</gerritVerifiedCmdBuildStarted>
+ <gerritVerifiedCmdBuildNotBuilt>gerrit approve &lt;CHANGE&gt;,&lt;PATCHSET&gt; --message &apos;No Builds Executed &lt;BUILDS_STATS&gt;&apos; --verified &lt;VERIFIED&gt; --code-review &lt;CODE_REVIEW&gt;</gerritVerifiedCmdBuildNotBuilt>
+ <gerritFrontEndUrl>https://gerrit.automotivelinux.org/</gerritFrontEndUrl>
+ <gerritBuildStartedVerifiedValue>0</gerritBuildStartedVerifiedValue>
+ <gerritBuildStartedCodeReviewValue>0</gerritBuildStartedCodeReviewValue>
+ <gerritBuildSuccessfulVerifiedValue>1</gerritBuildSuccessfulVerifiedValue>
+ <gerritBuildSuccessfulCodeReviewValue>0</gerritBuildSuccessfulCodeReviewValue>
+ <gerritBuildFailedVerifiedValue>-1</gerritBuildFailedVerifiedValue>
+ <gerritBuildFailedCodeReviewValue>0</gerritBuildFailedCodeReviewValue>
+ <gerritBuildUnstableVerifiedValue>0</gerritBuildUnstableVerifiedValue>
+ <gerritBuildUnstableCodeReviewValue>-1</gerritBuildUnstableCodeReviewValue>
+ <gerritBuildNotBuiltVerifiedValue>0</gerritBuildNotBuiltVerifiedValue>
+ <gerritBuildNotBuiltCodeReviewValue>0</gerritBuildNotBuiltCodeReviewValue>
+ <enableManualTrigger>true</enableManualTrigger>
+ <enablePluginMessages>true</enablePluginMessages>
+ <numberOfSendingWorkerThreads>1</numberOfSendingWorkerThreads>
+ <buildScheduleDelay>3</buildScheduleDelay>
+ <dynamicConfigRefreshInterval>30</dynamicConfigRefreshInterval>
+ <categories class="linked-list">
+ <com.sonyericsson.hudson.plugins.gerrit.trigger.VerdictCategory>
+ <verdictValue>CRVW</verdictValue>
+ <verdictDescription>Code Review</verdictDescription>
+ </com.sonyericsson.hudson.plugins.gerrit.trigger.VerdictCategory>
+ <com.sonyericsson.hudson.plugins.gerrit.trigger.VerdictCategory>
+ <verdictValue>VRIF</verdictValue>
+ <verdictDescription>Verified</verdictDescription>
+ </com.sonyericsson.hudson.plugins.gerrit.trigger.VerdictCategory>
+ </categories>
+ <watchdogTimeoutMinutes>0</watchdogTimeoutMinutes>
+ <watchTimeExceptionData>
+ <daysOfWeek/>
+ <timesOfDay class="linked-list"/>
+ </watchTimeExceptionData>
+ </config>
+</com.sonyericsson.hudson.plugins.gerrit.trigger.PluginImpl> \ No newline at end of file