config.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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;Supported options are shown below:&lt;/p&gt;&#xd;
  13. &lt;dl class=&quot;docutils&quot;&gt;&#xd;
  14. &lt;dt&gt;&lt;tt class=&quot;docutils literal&quot;&gt;MANIFEST_URL&lt;/tt&gt;&lt;/dt&gt;&#xd;
  15. &lt;dd&gt;&lt;p class=&quot;first&quot;&gt;This option specifies the manifest URL, which will be recognized by the&#xd;
  16. &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;
  17. &lt;cite&gt;scm/manifest&lt;/cite&gt; is the manifest path in remote tizen.org Gerrit, whereas&#xd;
  18. &lt;cite&gt;tizen&lt;/cite&gt; is the alias set in ~/.ssh/config, an example of&#xd;
  19. ~/.ssh/config is shown below:&lt;/p&gt;&#xd;
  20. &lt;pre class=&quot;last literal-block&quot;&gt;&#xd;
  21. Host tizen review.tizen.org&#xd;
  22. Hostname review.tizen.org&#xd;
  23. Port 29418&#xd;
  24. User &amp;lt;username&amp;gt;&#xd;
  25. #ProxyCommand connect -S &amp;lt;proxy&amp;gt;:&amp;lt;port&amp;gt; %h %p&#xd;
  26. &lt;/pre&gt;&#xd;
  27. &lt;/dd&gt;&#xd;
  28. &lt;dt&gt;&lt;tt class=&quot;docutils literal&quot;&gt;MANIFEST_BRANCH&lt;/tt&gt;&lt;/dt&gt;&#xd;
  29. &lt;dd&gt;This option specifies the manifest branch used for synchronizing code, this&#xd;
  30. 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;
  31. &lt;dt&gt;&lt;tt class=&quot;docutils literal&quot;&gt;PROFILE&lt;/tt&gt;&lt;/dt&gt;&#xd;
  32. &lt;dd&gt;This option specifies the profile used for building, currently, the valid&#xd;
  33. values are &lt;cite&gt;IVI&lt;/cite&gt; and &lt;cite&gt;Mobile&lt;/cite&gt;&lt;/dd&gt;&#xd;
  34. &lt;dt&gt;&lt;tt class=&quot;docutils literal&quot;&gt;ARCH&lt;/tt&gt;&lt;/dt&gt;&#xd;
  35. &lt;dd&gt;This option specifies the arch to be built, currently the valid values are&#xd;
  36. i586 and armv7l.&lt;/dd&gt;&#xd;
  37. &lt;dt&gt;&lt;tt class=&quot;docutils literal&quot;&gt;REMOTE_REPOS (optional)&lt;/tt&gt;&lt;/dt&gt;&#xd;
  38. &lt;dd&gt;This option specifies the remote repos from which packages are obtained&#xd;
  39. during package building. Valid remote repos must contans tizen repo data,&#xd;
  40. including buildata, images and repos in it, for example:&#xd;
  41. &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;
  42. &lt;dt&gt;&lt;tt class=&quot;docutils literal&quot;&gt;PARALEL_THREADS&lt;/tt&gt;&lt;/dt&gt;&#xd;
  43. &lt;dd&gt;This option specifies the number of builders GBS runs in parallel. Valid&#xd;
  44. value is non-negative integer.&lt;/dd&gt;&#xd;
  45. &lt;dt&gt;&lt;tt class=&quot;docutils literal&quot;&gt;EXCLUDE_PACKAGES&lt;/tt&gt;&lt;/dt&gt;&#xd;
  46. &lt;dd&gt;This option specifies the packages that will be excluded during package&#xd;
  47. building. This option also can be used to break dependency cycles. Multiple&#xd;
  48. packages must be separated by comma(,)&lt;/dd&gt;&#xd;
  49. &lt;dt&gt;&lt;tt class=&quot;docutils literal&quot;&gt;BUILD_ARGS&lt;/tt&gt;&lt;/dt&gt;&#xd;
  50. &lt;dd&gt;This option specifies more GBS build options, which will be passed to &lt;cite&gt;gbs&#xd;
  51. build&lt;/cite&gt; command. Multiple options are supported, different options must be&#xd;
  52. seperated by space, For more information about gbs build options, refer to&#xd;
  53. &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;
  54. &lt;dt&gt;&lt;tt class=&quot;docutils literal&quot;&gt;PUBLISH&lt;/tt&gt;&lt;/dt&gt;&#xd;
  55. &lt;dd&gt;This option enables the publishing of build artifacts, including build&#xd;
  56. reports, images and repos.&lt;/dd&gt;&#xd;
  57. &lt;dt&gt;&lt;tt class=&quot;docutils literal&quot;&gt;PUBLISH_URL&lt;/tt&gt;&lt;/dt&gt;&#xd;
  58. &lt;dd&gt;This option specifies the URL address to publish build artifacts. The&#xd;
  59. format of PUBLISH_URL must be the same as rsync format, which can be a&#xd;
  60. local path or remote URL like: &lt;cite&gt;user&amp;#64;hostname:/path/to/publish_dir&lt;/cite&gt;.&lt;/dd&gt;&#xd;
  61. &lt;/dl&gt;</description>
  62. <keepDependencies>false</keepDependencies>
  63. <properties>
  64. <hudson.model.ParametersDefinitionProperty>
  65. <parameterDefinitions>
  66. <hudson.model.StringParameterDefinition>
  67. <name>MANIFEST_URL</name>
  68. <description>&lt;p class=&quot;first&quot;&gt;This option specifies the manifest URL, which will be recognized by the
  69. &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;,
  70. &lt;cite&gt;scm/manifest&lt;/cite&gt; is the manifest path in remote tizen.org Gerrit, whereas
  71. &lt;cite&gt;tizen&lt;/cite&gt; is the alias set in ~/.ssh/config, an example of
  72. ~/.ssh/config is shown below:&lt;/p&gt;
  73. &lt;pre class=&quot;last literal-block&quot;&gt;
  74. Host tizen review.tizen.org
  75. Hostname review.tizen.org
  76. Port 29418
  77. User &amp;lt;username&amp;gt;
  78. #ProxyCommand connect -S &amp;lt;proxy&amp;gt;:&amp;lt;port&amp;gt; %h %p
  79. &lt;/pre&gt;</description>
  80. <defaultValue>review.tizen.org:scm/manifest</defaultValue>
  81. </hudson.model.StringParameterDefinition>
  82. <hudson.model.StringParameterDefinition>
  83. <name>MANIFEST_BRANCH</name>
  84. <description>This option specifies the manifest branch used for synchronizing code, this
  85. 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>
  86. <defaultValue>tizen</defaultValue>
  87. </hudson.model.StringParameterDefinition>
  88. <hudson.model.ChoiceParameterDefinition>
  89. <name>PROFILE</name>
  90. <description>This option specifies the profile used for building, currently, the valid
  91. values are &lt;cite&gt;IVI&lt;/cite&gt; and &lt;cite&gt;Mobile&lt;/cite&gt;</description>
  92. <choices class="java.util.Arrays$ArrayList">
  93. <a class="string-array">
  94. <string>ivi</string>
  95. <string>mobile</string>
  96. </a>
  97. </choices>
  98. </hudson.model.ChoiceParameterDefinition>
  99. <hudson.model.TextParameterDefinition>
  100. <name>REMOTE_REPOS</name>
  101. <description>This option specifies the remote repos from which packages are obtained
  102. during package building. Valid remote repos must contans tizen repo data,
  103. including buildata, images and repos in it, for example:
  104. &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>
  105. <defaultValue></defaultValue>
  106. </hudson.model.TextParameterDefinition>
  107. <hudson.model.ChoiceParameterDefinition>
  108. <name>ARCH</name>
  109. <description>This option specifies the arch to be built, currently the valid values are
  110. i586 and armv7l.</description>
  111. <choices class="java.util.Arrays$ArrayList">
  112. <a class="string-array">
  113. <string>i586</string>
  114. <string>armv7l</string>
  115. </a>
  116. </choices>
  117. </hudson.model.ChoiceParameterDefinition>
  118. <hudson.model.StringParameterDefinition>
  119. <name>PARALEL_THREADS</name>
  120. <description>This option specifies the number of builders GBS runs in parallel. Valid
  121. value is non-negative integer.</description>
  122. <defaultValue>4</defaultValue>
  123. </hudson.model.StringParameterDefinition>
  124. <hudson.model.StringParameterDefinition>
  125. <name>EXCLUDE_PACKAGES</name>
  126. <description>This option specifies the packages that will be excluded during package
  127. building. This option also can be used to break dependency cycles. Multiple
  128. packages must be separated by comma(,)</description>
  129. <defaultValue>texinfo,aul,gettext</defaultValue>
  130. </hudson.model.StringParameterDefinition>
  131. <hudson.model.StringParameterDefinition>
  132. <name>BUILD_ARGS</name>
  133. <description>This option specifies more GBS build options, which will be passed to &lt;cite&gt;gbs
  134. build&lt;/cite&gt; command. Multiple options are supported, different options must be
  135. seperated by space, For more information about gbs build options, refer to
  136. &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>
  137. <defaultValue></defaultValue>
  138. </hudson.model.StringParameterDefinition>
  139. <hudson.model.BooleanParameterDefinition>
  140. <name>PUBLISH</name>
  141. <description>This option enables the publishing of build artifacts, including build
  142. reports, images and repos.</description>
  143. <defaultValue>true</defaultValue>
  144. </hudson.model.BooleanParameterDefinition>
  145. <hudson.model.StringParameterDefinition>
  146. <name>PUBLISH_URL</name>
  147. <description>This option specifies the URL address to publish build artifacts. The
  148. format of PUBLISH_URL must be the same as rsync format, which can be a
  149. local path or remote URL like: &lt;cite&gt;user&amp;#64;hostname:/path/to/publish_dir&lt;/cite&gt;.</description>
  150. <defaultValue></defaultValue>
  151. </hudson.model.StringParameterDefinition>
  152. </parameterDefinitions>
  153. </hudson.model.ParametersDefinitionProperty>
  154. </properties>
  155. <scm class="hudson.scm.NullSCM"/>
  156. <canRoam>true</canRoam>
  157. <disabled>false</disabled>
  158. <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
  159. <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
  160. <triggers class="vector"/>
  161. <concurrentBuild>false</concurrentBuild>
  162. <builders>
  163. <hudson.tasks.Shell>
  164. <command>${JENKINS_HOME}/jenkins-scripts/job_local_full_build</command>
  165. </hudson.tasks.Shell>
  166. </builders>
  167. <publishers/>
  168. <buildWrappers/>
  169. </project>