release-snapshot can be triggered by Tizen dashboard 76/119076/2
authorJunghyun Kim <jh0822.kim@samsung.com>
Wed, 15 Mar 2017 10:42:31 +0000 (19:42 +0900)
committerJunghyun Kim <jh0822.kim@samsung.com>
Thu, 16 Mar 2017 00:26:11 +0000 (09:26 +0900)
PARAMETER CHANGED:
profile -> obs_project
version (NEW)

release-snapshot triggers BUILD-MONITOR with bm_stage RELEASE_SNAPSHOT

Change-Id: Iea7fc7494373a62aa5c7e0bb662749d90db0df80
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
jobs/release-snapshot/config.xml

index 5dfbc76..9aef71b 100755 (executable)
@@ -2,12 +2,6 @@
 <project>
   <actions/>
   <description>   </description>
-  <logRotator class="hudson.tasks.LogRotator">
-    <daysToKeep>7</daysToKeep>
-    <numToKeep>100</numToKeep>
-    <artifactDaysToKeep>-1</artifactDaysToKeep>
-    <artifactNumToKeep>-1</artifactNumToKeep>
-  </logRotator>
   <keepDependencies>false</keepDependencies>
   <properties>
     <hudson.plugins.buildblocker.BuildBlockerProperty plugin="build-blocker-plugin@1.4.1">
     <hudson.queueSorter.PrioritySorterJobProperty plugin="PrioritySorter@2.8">
       <priority>100</priority>
     </hudson.queueSorter.PrioritySorterJobProperty>
+    <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.25">
+      <autoRebuild>false</autoRebuild>
+      <rebuildDisabled>false</rebuildDisabled>
+    </com.sonyericsson.rebuild.RebuildSettings>
+    <jenkins.model.BuildDiscarderProperty>
+      <strategy class="hudson.tasks.LogRotator">
+        <daysToKeep>7</daysToKeep>
+        <numToKeep>100</numToKeep>
+        <artifactDaysToKeep>-1</artifactDaysToKeep>
+        <artifactNumToKeep>-1</artifactNumToKeep>
+      </strategy>
+    </jenkins.model.BuildDiscarderProperty>
     <hudson.model.ParametersDefinitionProperty>
       <parameterDefinitions>
         <hudson.model.ChoiceParameterDefinition>
           <defaultValue></defaultValue>
         </hudson.model.StringParameterDefinition>
         <jp.ikedam.jenkins.plugins.extensible__choice__parameter.ExtensibleChoiceParameterDefinition plugin="extensible-choice-parameter@1.2.2">
-          <name>profile</name>
+          <name>obs_project</name>
           <description>Choice/Input the profile</description>
           <editable>true</editable>
           <choiceListProvider class="jp.ikedam.jenkins.plugins.extensible_choice_parameter.TextareaChoiceListProvider">
             <choiceList class="java.util.RandomAccessSubList">
               <l class="java.util.Arrays$ArrayList">
                 <a class="string-array">
-                  <string>Tizen-base</string>
-                  <string>Tizen-mobile</string>
-                  <string>Tizen-wearable</string>
-                  <string>Tizen-tv</string>
-                  <string>Tizen-common</string>
-                  <string>Tizen-common-artik</string>
-                  <string>Tizen-ivi</string>
-                  <string>Tizen-3.0-ivi</string>
+                  <string>Tizen:Base</string>
+                  <string>Tizen:3.0:Base</string>
+                  <string>Tizen:Mobile</string>
+                  <string>Tizen:3.0:Mobile</string>
+                  <string>Tizen:Wearable</string>
+                  <string>Tizen:3.0:Wearable</string>
+                  <string>Tizen:TV</string>
+                  <string>Tizen:3.0:TV</string>
+                  <string>Tizen:Common</string>
+                  <string>Tizen:3.0:Common</string>
+                  <string>Tizen:Common:3.0b:artik</string>
+                  <string>Tizen:IVI</string>
+                  <string>Tizen:3.0:IVI</string>
                   <string></string>
                 </a>
               </l>
               <offset>0</offset>
-              <size>8</size>
+              <size>13</size>
             </choiceList>
           </choiceListProvider>
         </jp.ikedam.jenkins.plugins.extensible__choice__parameter.ExtensibleChoiceParameterDefinition>
+        <hudson.model.StringParameterDefinition>
+          <name>version</name>
+          <description>version (e.g., RC1)</description>
+          <defaultValue>O</defaultValue>
+        </hudson.model.StringParameterDefinition>
       </parameterDefinitions>
     </hudson.model.ParametersDefinitionProperty>
   </properties>
   <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
   <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
   <triggers/>
-  <concurrentBuild>false</concurrentBuild>
+  <concurrentBuild>true</concurrentBuild>
   <builders>
     <hudson.tasks.Shell>
       <command>python ${WORKSPACE}/jenkins-scripts/job_release_snapshot.py</command>
     </hudson.tasks.Shell>
+    <hudson.plugins.parameterizedtrigger.TriggerBuilder plugin="parameterized-trigger@2.25">
+      <configs>
+        <hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig>
+          <configs class="empty-list"/>
+          <configFactories>
+            <hudson.plugins.parameterizedtrigger.FileBuildParameterFactory>
+              <filePattern>ref-snapshot-info-update.env</filePattern>
+              <noFilesFoundAction>SKIP</noFilesFoundAction>
+            </hudson.plugins.parameterizedtrigger.FileBuildParameterFactory>
+          </configFactories>
+          <projects>ref-snapshot-info-update</projects>
+          <condition>ALWAYS</condition>
+          <triggerWithNoParameters>false</triggerWithNoParameters>
+          <buildAllNodesWithLabel>false</buildAllNodesWithLabel>
+        </hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig>
+      </configs>
+    </hudson.plugins.parameterizedtrigger.TriggerBuilder>
+    <hudson.plugins.parameterizedtrigger.TriggerBuilder plugin="parameterized-trigger@2.25">
+      <configs>
+        <hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig>
+          <configs class="empty-list"/>
+          <configFactories>
+            <hudson.plugins.parameterizedtrigger.FileBuildParameterFactory>
+              <filePattern>BUILD-MONITOR.env</filePattern>
+              <noFilesFoundAction>SKIP</noFilesFoundAction>
+            </hudson.plugins.parameterizedtrigger.FileBuildParameterFactory>
+          </configFactories>
+          <projects>BUILD-MONITOR</projects>
+          <condition>ALWAYS</condition>
+          <triggerWithNoParameters>false</triggerWithNoParameters>
+          <buildAllNodesWithLabel>false</buildAllNodesWithLabel>
+        </hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig>
+      </configs>
+    </hudson.plugins.parameterizedtrigger.TriggerBuilder>
   </builders>
   <publishers/>
   <buildWrappers>
       </info>
     </EnvInjectBuildWrapper>
   </buildWrappers>
-</project>
\ No newline at end of file
+</project>