config.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <project>
  3. <actions/>
  4. <description>&lt;p&gt;This job is designed for Tizen package building, image creation and build&#xd;
  5. artifacts publishing by using &lt;a class=&quot;reference external&quot; href=&quot;http://en.wikipedia.org/wiki/Repo_%28script%29&quot;&gt;repo&lt;/a&gt; and &lt;a class=&quot;reference external&quot; href=&quot;https://source.tizen.org/documentation/reference/git-build-system&quot;&gt;GBS&lt;/a&gt; as basis. It can be reconfigured&#xd;
  6. to run periodically or be manually triggered whenever needed.&lt;/p&gt;&#xd;
  7. &lt;p&gt;With &lt;strong&gt;PUBLISH&lt;/strong&gt; option enabled, build artifacts, including build reports,&#xd;
  8. repos and images, will be synchronized to respective download servers.&lt;/p&gt;&#xd;
  9. &lt;p&gt;Before using this job, it is highly recommended that &lt;a class=&quot;reference external&quot; href=&quot;https://source.tizen.org/documentation/developer-guide/creating-tizen-image-scratch&quot;&gt;Creating a Tizen Image&#xd;
  10. from Scratch&lt;/a&gt; , which is the manual equivalent of this job, is read and well&#xd;
  11. understood.&lt;/p&gt;&#xd;
  12. &lt;p&gt;This job is designed for building part of the packages based on users’&#xd;
  13. customization, that is , developers can specify a list of packages which just have&#xd;
  14. been updated in remote repos, and check if the final image can work well&#xd;
  15. with these changes of packages.&lt;/p&gt;&#xd;
  16. &lt;p&gt;To use this job, one remote repo must be specified, from which the building&#xd;
  17. packages required by GBS and the ks file required by MIC can be obtained.&lt;/p&gt;&#xd;
  18. &lt;p&gt;An example of remote repo is shown below:&lt;/p&gt;&#xd;
  19. &lt;blockquote&gt;&#xd;
  20. &lt;a class=&quot;reference external&quot; href=&quot;http://download.tizen.org/releases/daily/tizen/ivi/ivi/tizen_20140212.7/&quot;&gt;http://download.tizen.org/releases/daily/tizen/ivi/ivi/tizen_20140212.7/&lt;/a&gt;&lt;/blockquote&gt;&#xd;
  21. &lt;p&gt;Supported options are shown below:&lt;/p&gt;&#xd;
  22. &lt;dl class=&quot;docutils&quot;&gt;&#xd;
  23. &lt;dt&gt;&lt;tt class=&quot;docutils literal&quot;&gt;MANIFEST_URL&lt;/tt&gt;&lt;/dt&gt;&#xd;
  24. &lt;dd&gt;&lt;p class=&quot;first&quot;&gt;This option specifies the manifest URL, which will be recognized by the&#xd;
  25. &lt;a class=&quot;reference external&quot; href=&quot;http://en.wikipedia.org/wiki/Repo_%28script%29&quot;&gt;repo&lt;/a&gt; command, for example, in &lt;cite&gt;tizen:scm/manifest&lt;/cite&gt;,&#xd;
  26. &lt;cite&gt;scm/manifest&lt;/cite&gt; is the manifest path in remote tizen.org Gerrit, whereas&#xd;
  27. &lt;cite&gt;tizen&lt;/cite&gt; is the alias set in ~/.ssh/config, an example of&#xd;
  28. ~/.ssh/config is shown below:&lt;/p&gt;&#xd;
  29. &lt;pre class=&quot;last literal-block&quot;&gt;&#xd;
  30. Host tizen review.tizen.org&#xd;
  31. Hostname review.tizen.org&#xd;
  32. Port 29418&#xd;
  33. User &amp;lt;username&amp;gt;&#xd;
  34. #ProxyCommand connect -S &amp;lt;proxy&amp;gt;:&amp;lt;port&amp;gt; %h %p&#xd;
  35. &lt;/pre&gt;&#xd;
  36. &lt;/dd&gt;&#xd;
  37. &lt;dt&gt;&lt;tt class=&quot;docutils literal&quot;&gt;MANIFEST_BRANCH&lt;/tt&gt;&lt;/dt&gt;&#xd;
  38. &lt;dd&gt;This option specifies the manifest branch used for synchronizing code, this&#xd;
  39. value will be passed to &lt;a class=&quot;reference external&quot; href=&quot;http://en.wikipedia.org/wiki/Repo_%28script%29&quot;&gt;repo&lt;/a&gt; command directly.&lt;/dd&gt;&#xd;
  40. &lt;dt&gt;&lt;tt class=&quot;docutils literal&quot;&gt;PROFILE&lt;/tt&gt;&lt;/dt&gt;&#xd;
  41. &lt;dd&gt;This option specifies the profile used for building, currently, the valid&#xd;
  42. values are &lt;cite&gt;IVI&lt;/cite&gt; and &lt;cite&gt;Mobile&lt;/cite&gt;&lt;/dd&gt;&#xd;
  43. &lt;dt&gt;&lt;tt class=&quot;docutils literal&quot;&gt;ARCH&lt;/tt&gt;&lt;/dt&gt;&#xd;
  44. &lt;dd&gt;This option specifies the arch to be built, currently the valid values are&#xd;
  45. i586 and armv7l.&lt;/dd&gt;&#xd;
  46. &lt;dt&gt;&lt;tt class=&quot;docutils literal&quot;&gt;REMOTE_REPOS&lt;/tt&gt;&lt;/dt&gt;&#xd;
  47. &lt;dd&gt;This option specifies the remote repos from which packages are obtained&#xd;
  48. during package building. Valid remote repos must contans tizen repo data,&#xd;
  49. including buildata, images and repos in it, for example:&#xd;
  50. &lt;a class=&quot;reference external&quot; href=&quot;http://download.tizen.org/releases/daily/tizen/ivi/ivi/tizen_20140305.14/&quot;&gt;http://download.tizen.org/releases/daily/tizen/ivi/ivi/tizen_20140305.14/&lt;/a&gt;&lt;/dd&gt;&#xd;
  51. &lt;dt&gt;&lt;tt class=&quot;docutils literal&quot;&gt;KS&lt;/tt&gt;&lt;/dt&gt;&#xd;
  52. &lt;dd&gt;This option specifies the ks file based on which MIC performs the image&#xd;
  53. creation. Valid values are the ones contained in the specified remote repo.&#xd;
  54. List of multiple ks files, in which the names are separated by spaces,&#xd;
  55. is supported as well.&lt;/dd&gt;&#xd;
  56. &lt;dt&gt;&lt;tt class=&quot;docutils literal&quot;&gt;BUILD_RDEPS&lt;/tt&gt;&lt;/dt&gt;&#xd;
  57. &lt;dd&gt;This option enables the building with dependency, that is, packages that&#xd;
  58. have dependent packages will be built in correct dependency order.&lt;/dd&gt;&#xd;
  59. &lt;dt&gt;&lt;tt class=&quot;docutils literal&quot;&gt;PACKAGE_LIST&lt;/tt&gt;&lt;/dt&gt;&#xd;
  60. &lt;dd&gt;This option specifies the package list in which packages to be built are&#xd;
  61. listed per line. The format must be the full path in remote Gerrit.&lt;/dd&gt;&#xd;
  62. &lt;dt&gt;&lt;tt class=&quot;docutils literal&quot;&gt;PARALEL_THREADS&lt;/tt&gt;&lt;/dt&gt;&#xd;
  63. &lt;dd&gt;This option specifies the number of builders GBS runs in parallel. Valid&#xd;
  64. value is non-negative integer.&lt;/dd&gt;&#xd;
  65. &lt;dt&gt;&lt;tt class=&quot;docutils literal&quot;&gt;EXCLUDE_PACKAGES&lt;/tt&gt;&lt;/dt&gt;&#xd;
  66. &lt;dd&gt;This option specifies the packages that will be excluded during package&#xd;
  67. building. This option also can be used to break dependency cycles. Multiple&#xd;
  68. packages must be separated by comma(,)&lt;/dd&gt;&#xd;
  69. &lt;dt&gt;&lt;tt class=&quot;docutils literal&quot;&gt;BUILD_ARGS&lt;/tt&gt;&lt;/dt&gt;&#xd;
  70. &lt;dd&gt;This option specifies more GBS build options, which will be passed to &lt;cite&gt;gbs&#xd;
  71. build&lt;/cite&gt; command. Multiple options are supported, different options must be&#xd;
  72. seperated by space, For more information about gbs build options, refer to&#xd;
  73. &lt;a class=&quot;reference external&quot; href=&quot;https://source.tizen.org/documentation/reference/git-build-system/usage/gbs-build&quot;&gt;gbs build usage&lt;/a&gt;.&lt;/dd&gt;&#xd;
  74. &lt;dt&gt;&lt;tt class=&quot;docutils literal&quot;&gt;PUBLISH&lt;/tt&gt;&lt;/dt&gt;&#xd;
  75. &lt;dd&gt;This option enables the publishing of build artifacts, including build&#xd;
  76. reports, images and repos.&lt;/dd&gt;&#xd;
  77. &lt;dt&gt;&lt;tt class=&quot;docutils literal&quot;&gt;PUBLISH_URL&lt;/tt&gt;&lt;/dt&gt;&#xd;
  78. &lt;dd&gt;This option specifies the URL address to publish build artifacts. The&#xd;
  79. format of PUBLISH_URL must be the same as rsync format, which can be a&#xd;
  80. local path or remote URL like: &lt;cite&gt;user&amp;#64;hostname:/path/to/publish_dir&lt;/cite&gt;.&lt;/dd&gt;&#xd;
  81. &lt;/dl&gt;</description>
  82. <keepDependencies>false</keepDependencies>
  83. <properties>
  84. <hudson.model.ParametersDefinitionProperty>
  85. <parameterDefinitions>
  86. <hudson.model.StringParameterDefinition>
  87. <name>MANIFEST_URL</name>
  88. <description>&lt;p class=&quot;first&quot;&gt;This option specifies the manifest URL, which will be recognized by the
  89. &lt;a class=&quot;reference external&quot; href=&quot;http://en.wikipedia.org/wiki/Repo_%28script%29&quot;&gt;repo&lt;/a&gt; command, for example, in &lt;cite&gt;tizen:scm/manifest&lt;/cite&gt;,
  90. &lt;cite&gt;scm/manifest&lt;/cite&gt; is the manifest path in remote tizen.org Gerrit, whereas
  91. &lt;cite&gt;tizen&lt;/cite&gt; is the alias set in ~/.ssh/config, an example of
  92. ~/.ssh/config is shown below:&lt;/p&gt;
  93. &lt;pre class=&quot;last literal-block&quot;&gt;
  94. Host tizen review.tizen.org
  95. Hostname review.tizen.org
  96. Port 29418
  97. User &amp;lt;username&amp;gt;
  98. #ProxyCommand connect -S &amp;lt;proxy&amp;gt;:&amp;lt;port&amp;gt; %h %p
  99. &lt;/pre&gt;
  100. </description>
  101. <defaultValue>review.tizen.org:scm/manifest</defaultValue>
  102. </hudson.model.StringParameterDefinition>
  103. <hudson.model.StringParameterDefinition>
  104. <name>MANIFEST_BRANCH</name>
  105. <description>This option specifies the manifest branch used for synchronizing code, this
  106. value will be passed to &lt;a class=&quot;reference external&quot; href=&quot;http://en.wikipedia.org/wiki/Repo_%28script%29&quot;&gt;repo&lt;/a&gt; command directly.</description>
  107. <defaultValue>tizen</defaultValue>
  108. </hudson.model.StringParameterDefinition>
  109. <hudson.model.ChoiceParameterDefinition>
  110. <name>PROFILE</name>
  111. <description>This option specifies the profile used for building, currently, the valid
  112. values are &lt;cite&gt;IVI&lt;/cite&gt; and &lt;cite&gt;Mobile&lt;/cite&gt;</description>
  113. <choices class="java.util.Arrays$ArrayList">
  114. <a class="string-array">
  115. <string>ivi</string>
  116. <string>mobile</string>
  117. </a>
  118. </choices>
  119. </hudson.model.ChoiceParameterDefinition>
  120. <hudson.model.TextParameterDefinition>
  121. <name>REMOTE_REPOS</name>
  122. <description>This option specifies the remote repos from which packages are obtained
  123. during package building. Valid remote repos must contans tizen repo data,
  124. including buildata, images and repos in it, for example:
  125. &lt;a class=&quot;reference external&quot; href=&quot;http://download.tizen.org/releases/daily/tizen/ivi/ivi/tizen_20140305.14/&quot;&gt;http://download.tizen.org/releases/daily/tizen/ivi/ivi/tizen_20140305.14/&lt;/a&gt;</description>
  126. <defaultValue>https://download.tizen.org/releases/daily/tizen/ivi/ivi/tizen_20140214.10</defaultValue>
  127. </hudson.model.TextParameterDefinition>
  128. <hudson.model.StringParameterDefinition>
  129. <name>KS</name>
  130. <description>ks file name.
  131. Example:
  132. mobile.ks
  133. For multiple ks file use spaces to separate them:
  134. mobile.ks mobile-ref.ks</description>
  135. <defaultValue>ivi-mbr-i586.ks</defaultValue>
  136. </hudson.model.StringParameterDefinition>
  137. <hudson.model.BooleanParameterDefinition>
  138. <name>BUILD_RDEPS</name>
  139. <description>Check this box, all packages depend on specified packages will be built in correct dependency order.</description>
  140. <defaultValue>true</defaultValue>
  141. </hudson.model.BooleanParameterDefinition>
  142. <hudson.model.TextParameterDefinition>
  143. <name>PACKAGE_LIST</name>
  144. <description>Specify the packages list to be built, and one line for per package. The format should be the detail path in remote gerrit.</description>
  145. <defaultValue>apps/core/preloaded/menu-screenapps/core/preloaded/settings</defaultValue>
  146. </hudson.model.TextParameterDefinition>
  147. <hudson.model.ChoiceParameterDefinition>
  148. <name>ARCH</name>
  149. <description>This option specifies the arch to be built, currently the valid values are
  150. i586 and armv7l.</description>
  151. <choices class="java.util.Arrays$ArrayList">
  152. <a class="string-array">
  153. <string>ia32</string>
  154. <string>armv7l</string>
  155. </a>
  156. </choices>
  157. </hudson.model.ChoiceParameterDefinition>
  158. <hudson.model.StringParameterDefinition>
  159. <name>PARALEL_THREADS</name>
  160. <description>This option specifies the number of builders GBS runs in parallel. Valid
  161. value is non-negative integer.</description>
  162. <defaultValue>4</defaultValue>
  163. </hudson.model.StringParameterDefinition>
  164. <hudson.model.StringParameterDefinition>
  165. <name>EXCLUDE_PACKAGES</name>
  166. <description>This option specifies the packages that will be excluded during package
  167. building. This option also can be used to break dependency cycles. Multiple
  168. packages must be separated by comma(,)</description>
  169. <defaultValue>texinfo,aul,gettext</defaultValue>
  170. </hudson.model.StringParameterDefinition>
  171. <hudson.model.StringParameterDefinition>
  172. <name>BUILD_ARGS</name>
  173. <description>This option specifies more GBS build options, which will be passed to &lt;cite&gt;gbs
  174. build&lt;/cite&gt; command. Multiple options are supported, different options must be
  175. seperated by space, For more information about gbs build options, refer to
  176. &lt;a class=&quot;reference external&quot; href=&quot;https://source.tizen.org/documentation/reference/git-build-system/usage/gbs-build&quot;&gt;gbs build usage&lt;/a&gt;.</description>
  177. <defaultValue></defaultValue>
  178. </hudson.model.StringParameterDefinition>
  179. <hudson.model.BooleanParameterDefinition>
  180. <name>PUBLISH</name>
  181. <description>This option enables the publishing of build artifacts, including build
  182. reports, images and repos.</description>
  183. <defaultValue>true</defaultValue>
  184. </hudson.model.BooleanParameterDefinition>
  185. <hudson.model.StringParameterDefinition>
  186. <name>PUBLISH_URL</name>
  187. <description>This option specifies the URL address to publish build artifacts. The
  188. format of PUBLISH_URL must be the same as rsync format, which can be a
  189. local path or remote URL like: &lt;cite&gt;user&amp;#64;hostname:/path/to/publish_dir&lt;/cite&gt;.</description>
  190. <defaultValue></defaultValue>
  191. </hudson.model.StringParameterDefinition>
  192. </parameterDefinitions>
  193. </hudson.model.ParametersDefinitionProperty>
  194. </properties>
  195. <scm class="hudson.scm.NullSCM"/>
  196. <canRoam>true</canRoam>
  197. <disabled>false</disabled>
  198. <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
  199. <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
  200. <triggers class="vector"/>
  201. <concurrentBuild>false</concurrentBuild>
  202. <builders>
  203. <hudson.tasks.Shell>
  204. <command>${JENKINS_HOME}/jenkins-scripts/job_build_packagelist</command>
  205. </hudson.tasks.Shell>
  206. </builders>
  207. <publishers/>
  208. <buildWrappers/>
  209. </project>