Permalink
Browse files

Added job spec for trigger-ondemand, added to the admin page

  • Loading branch information...
1 parent b2219da commit 7f91b2a2a9d5f5e956a8a249330c2653ae9c4c72 @geoelectric committed Mar 30, 2012
Showing with 32 additions and 0 deletions.
  1. +1 −0 jenkins-master/config.xml
  2. +31 −0 jenkins-master/jobs/trigger-ondemand/config.xml
@@ -147,6 +147,7 @@
<comparator class="hudson.util.CaseInsensitiveComparator"/>
<string>get_mozmill-environments</string>
<string>tools</string>
+ <string>trigger-ondemand</string>
</jobNames>
<jobFilters/>
<columns>
@@ -0,0 +1,31 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<project>
+ <actions/>
+ <description>Trigger an on-demand test run</description>
+ <keepDependencies>false</keepDependencies>
+ <properties>
+ <hudson.model.ParametersDefinitionProperty>
+ <parameterDefinitions>
+ <hudson.model.FileParameterDefinition>
+ <name>config.ini</name>
+ <description>Configuration File</description>
+ </hudson.model.FileParameterDefinition>
+ </parameterDefinitions>
+ </hudson.model.ParametersDefinitionProperty>
+ </properties>
+ <scm class="hudson.scm.NullSCM"/>
+ <assignedNode>master</assignedNode>
+ <canRoam>false</canRoam>
+ <disabled>false</disabled>
+ <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
+ <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
+ <triggers class="vector"/>
+ <concurrentBuild>false</concurrentBuild>
+ <builders>
+ <hudson.tasks.Shell>
+ <command>${JENKINS_HOME}/../jenkins-env/bin/python ${JENKINS_HOME}/../trigger_on_demand_testrun.py config.ini</command>
+ </hudson.tasks.Shell>
+ </builders>
+ <publishers/>
+ <buildWrappers/>
+</project>

0 comments on commit 7f91b2a

Please sign in to comment.