Support release snapshot for milestone projects
authorLin Yang <lin.a.yang@intel.com>
Wed, 22 Oct 2014 06:27:33 +0000 (14:27 +0800)
committerLin Yang <lin.a.yang@intel.com>
Thu, 23 Oct 2014 09:59:05 +0000 (17:59 +0800)
Make the 'profile' choice parameter to be editable, so release engineer can
input any profile name. Backend script will check this input name whether exist
on repos.yaml setting.

Fixes: #2178

Change-Id: I4680790ff01f5b7a5f73ca6102c2c42ad08271ba
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
jobs/release-snapshot/config.xml

index b0f0426..126ae5a 100644 (file)
           <description>Enter the target release_id, for example: tizen_20140517.1. if the target release_id directory already exist, it will be replaced.</description>
           <defaultValue></defaultValue>
         </hudson.model.StringParameterDefinition>
-        <hudson.model.ChoiceParameterDefinition>
+        <jp.ikedam.jenkins.plugins.extensible__choice__parameter.ExtensibleChoiceParameterDefinition plugin="extensible-choice-parameter@1.2.2">
           <name>profile</name>
-          <description>Choice the profile</description>
-          <choices class="java.util.Arrays$ArrayList">
-            <a class="string-array">
-              <string>Tizen-ivi</string>
-              <string>Tizen-mobile</string>
-              <string>Tizen-common</string>
-            </a>
-          </choices>
-        </hudson.model.ChoiceParameterDefinition>
+          <description>Choice/Input the profile</description>
+          <editable>true</editable>
+          <choiceListProvider class="jp.ikedam.jenkins.plugins.extensible_choice_parameter.TextareaChoiceListProvider">
+            <choiceList class="java.util.Arrays$ArrayList">
+              <a class="string-array">
+                <string>Tizen-ivi</string>
+                <string>Tizen-mobile</string>
+                <string>Tizen-common</string>
+              </a>
+            </choiceList>
+          </choiceListProvider>
+        </jp.ikedam.jenkins.plugins.extensible__choice__parameter.ExtensibleChoiceParameterDefinition>
       </parameterDefinitions>
     </hudson.model.ParametersDefinitionProperty>
   </properties>