123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211 |
- <?xml version='1.0' encoding='UTF-8'?>
- <project>
- <actions/>
- <description><p>This job is designed for Tizen package building, image creation and build
- artifacts publishing by using <a class="reference external" href="http://en.wikipedia.org/wiki/Repo_%28script%29">repo</a> and <a class="reference external" href="https://source.tizen.org/documentation/reference/git-build-system">GBS</a> as basis. It can be reconfigured
- to run periodically or be manually triggered whenever needed.</p>
- <p>With <strong>PUBLISH</strong> option enabled, build artifacts, including build reports,
- repos and images, will be synchronized to respective download servers.</p>
- <p>Before using this job, it is highly recommended that <a class="reference external" href="https://source.tizen.org/documentation/developer-guide/creating-tizen-image-scratch">Creating a Tizen Image
- from Scratch</a> , which is the manual equivalent of this job, is read and well
- understood.</p>
- <p>This job is designed for building part of the packages based on users’
- customization, that is , developers can specify a list of packages which just have
- been updated in remote repos, and check if the final image can work well
- with these changes of packages.</p>
- <p>To use this job, one remote repo must be specified, from which the building
- packages required by GBS and the ks file required by MIC can be obtained.</p>
- <p>An example of remote repo is shown below:</p>
- <blockquote>
- <a class="reference external" href="http://download.tizen.org/releases/daily/tizen/ivi/ivi/tizen_20140212.7/">http://download.tizen.org/releases/daily/tizen/ivi/ivi/tizen_20140212.7/</a></blockquote>
- <p>Supported options are shown below:</p>
- <dl class="docutils">
- <dt><tt class="docutils literal">MANIFEST_URL</tt></dt>
- <dd><p class="first">This option specifies the manifest URL, which will be recognized by the
- <a class="reference external" href="http://en.wikipedia.org/wiki/Repo_%28script%29">repo</a> command, for example, in <cite>tizen:scm/manifest</cite>,
- <cite>scm/manifest</cite> is the manifest path in remote tizen.org Gerrit, whereas
- <cite>tizen</cite> is the alias set in ~/.ssh/config, an example of
- ~/.ssh/config is shown below:</p>
- <pre class="last literal-block">
- Host tizen review.tizen.org
- Hostname review.tizen.org
- Port 29418
- User &lt;username&gt;
- #ProxyCommand connect -S &lt;proxy&gt;:&lt;port&gt; %h %p
- </pre>
- </dd>
- <dt><tt class="docutils literal">MANIFEST_BRANCH</tt></dt>
- <dd>This option specifies the manifest branch used for synchronizing code, this
- value will be passed to <a class="reference external" href="http://en.wikipedia.org/wiki/Repo_%28script%29">repo</a> command directly.</dd>
- <dt><tt class="docutils literal">PROFILE</tt></dt>
- <dd>This option specifies the profile used for building, currently, the valid
- values are <cite>IVI</cite> and <cite>Mobile</cite></dd>
- <dt><tt class="docutils literal">ARCH</tt></dt>
- <dd>This option specifies the arch to be built, currently the valid values are
- i586 and armv7l.</dd>
- <dt><tt class="docutils literal">REMOTE_REPOS</tt></dt>
- <dd>This option specifies the remote repos from which packages are obtained
- during package building. Valid remote repos must contans tizen repo data,
- including buildata, images and repos in it, for example:
- <a class="reference external" href="http://download.tizen.org/releases/daily/tizen/ivi/ivi/tizen_20140305.14/">http://download.tizen.org/releases/daily/tizen/ivi/ivi/tizen_20140305.14/</a></dd>
- <dt><tt class="docutils literal">KS</tt></dt>
- <dd>This option specifies the ks file based on which MIC performs the image
- creation. Valid values are the ones contained in the specified remote repo.
- List of multiple ks files, in which the names are separated by spaces,
- is supported as well.</dd>
- <dt><tt class="docutils literal">BUILD_RDEPS</tt></dt>
- <dd>This option enables the building with dependency, that is, packages that
- have dependent packages will be built in correct dependency order.</dd>
- <dt><tt class="docutils literal">PACKAGE_LIST</tt></dt>
- <dd>This option specifies the package list in which packages to be built are
- listed per line. The format must be the full path in remote Gerrit.</dd>
- <dt><tt class="docutils literal">PARALEL_THREADS</tt></dt>
- <dd>This option specifies the number of builders GBS runs in parallel. Valid
- value is non-negative integer.</dd>
- <dt><tt class="docutils literal">EXCLUDE_PACKAGES</tt></dt>
- <dd>This option specifies the packages that will be excluded during package
- building. This option also can be used to break dependency cycles. Multiple
- packages must be separated by comma(,)</dd>
- <dt><tt class="docutils literal">BUILD_ARGS</tt></dt>
- <dd>This option specifies more GBS build options, which will be passed to <cite>gbs
- build</cite> command. Multiple options are supported, different options must be
- seperated by space, For more information about gbs build options, refer to
- <a class="reference external" href="https://source.tizen.org/documentation/reference/git-build-system/usage/gbs-build">gbs build usage</a>.</dd>
- <dt><tt class="docutils literal">PUBLISH</tt></dt>
- <dd>This option enables the publishing of build artifacts, including build
- reports, images and repos.</dd>
- <dt><tt class="docutils literal">PUBLISH_URL</tt></dt>
- <dd>This option specifies the URL address to publish build artifacts. The
- format of PUBLISH_URL must be the same as rsync format, which can be a
- local path or remote URL like: <cite>user&#64;hostname:/path/to/publish_dir</cite>.</dd>
- </dl></description>
- <keepDependencies>false</keepDependencies>
- <properties>
- <hudson.model.ParametersDefinitionProperty>
- <parameterDefinitions>
- <hudson.model.StringParameterDefinition>
- <name>MANIFEST_URL</name>
- <description><p class="first">This option specifies the manifest URL, which will be recognized by the
- <a class="reference external" href="http://en.wikipedia.org/wiki/Repo_%28script%29">repo</a> command, for example, in <cite>tizen:scm/manifest</cite>,
- <cite>scm/manifest</cite> is the manifest path in remote tizen.org Gerrit, whereas
- <cite>tizen</cite> is the alias set in ~/.ssh/config, an example of
- ~/.ssh/config is shown below:</p>
- <pre class="last literal-block">
- Host tizen review.tizen.org
- Hostname review.tizen.org
- Port 29418
- User &lt;username&gt;
- #ProxyCommand connect -S &lt;proxy&gt;:&lt;port&gt; %h %p
- </pre>
- </description>
- <defaultValue>review.tizen.org:scm/manifest</defaultValue>
- </hudson.model.StringParameterDefinition>
- <hudson.model.StringParameterDefinition>
- <name>MANIFEST_BRANCH</name>
- <description>This option specifies the manifest branch used for synchronizing code, this
- value will be passed to <a class="reference external" href="http://en.wikipedia.org/wiki/Repo_%28script%29">repo</a> command directly.</description>
- <defaultValue>tizen</defaultValue>
- </hudson.model.StringParameterDefinition>
- <hudson.model.ChoiceParameterDefinition>
- <name>PROFILE</name>
- <description>This option specifies the profile used for building, currently, the valid
- values are <cite>IVI</cite> and <cite>Mobile</cite></description>
- <choices class="java.util.Arrays$ArrayList">
- <a class="string-array">
- <string>ivi</string>
- <string>mobile</string>
- </a>
- </choices>
- </hudson.model.ChoiceParameterDefinition>
- <hudson.model.TextParameterDefinition>
- <name>REMOTE_REPOS</name>
- <description>This option specifies the remote repos from which packages are obtained
- during package building. Valid remote repos must contans tizen repo data,
- including buildata, images and repos in it, for example:
- <a class="reference external" href="http://download.tizen.org/releases/daily/tizen/ivi/ivi/tizen_20140305.14/">http://download.tizen.org/releases/daily/tizen/ivi/ivi/tizen_20140305.14/</a></description>
- <defaultValue>https://download.tizen.org/releases/daily/tizen/ivi/ivi/tizen_20140214.10</defaultValue>
- </hudson.model.TextParameterDefinition>
- <hudson.model.StringParameterDefinition>
- <name>KS</name>
- <description>ks file name.
- Example:
- mobile.ks
- For multiple ks file use spaces to separate them:
- mobile.ks mobile-ref.ks</description>
- <defaultValue>ivi-mbr-i586.ks</defaultValue>
- </hudson.model.StringParameterDefinition>
- <hudson.model.BooleanParameterDefinition>
- <name>BUILD_RDEPS</name>
- <description>Check this box, all packages depend on specified packages will be built in correct dependency order.</description>
- <defaultValue>true</defaultValue>
- </hudson.model.BooleanParameterDefinition>
- <hudson.model.TextParameterDefinition>
- <name>PACKAGE_LIST</name>
- <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>
- <defaultValue>apps/core/preloaded/menu-screenapps/core/preloaded/settings</defaultValue>
- </hudson.model.TextParameterDefinition>
- <hudson.model.ChoiceParameterDefinition>
- <name>ARCH</name>
- <description>This option specifies the arch to be built, currently the valid values are
- i586 and armv7l.</description>
- <choices class="java.util.Arrays$ArrayList">
- <a class="string-array">
- <string>ia32</string>
- <string>armv7l</string>
- </a>
- </choices>
- </hudson.model.ChoiceParameterDefinition>
- <hudson.model.StringParameterDefinition>
- <name>PARALEL_THREADS</name>
- <description>This option specifies the number of builders GBS runs in parallel. Valid
- value is non-negative integer.</description>
- <defaultValue>4</defaultValue>
- </hudson.model.StringParameterDefinition>
- <hudson.model.StringParameterDefinition>
- <name>EXCLUDE_PACKAGES</name>
- <description>This option specifies the packages that will be excluded during package
- building. This option also can be used to break dependency cycles. Multiple
- packages must be separated by comma(,)</description>
- <defaultValue>texinfo,aul,gettext</defaultValue>
- </hudson.model.StringParameterDefinition>
- <hudson.model.StringParameterDefinition>
- <name>BUILD_ARGS</name>
- <description>This option specifies more GBS build options, which will be passed to <cite>gbs
- build</cite> command. Multiple options are supported, different options must be
- seperated by space, For more information about gbs build options, refer to
- <a class="reference external" href="https://source.tizen.org/documentation/reference/git-build-system/usage/gbs-build">gbs build usage</a>.</description>
- <defaultValue></defaultValue>
- </hudson.model.StringParameterDefinition>
- <hudson.model.BooleanParameterDefinition>
- <name>PUBLISH</name>
- <description>This option enables the publishing of build artifacts, including build
- reports, images and repos.</description>
- <defaultValue>true</defaultValue>
- </hudson.model.BooleanParameterDefinition>
- <hudson.model.StringParameterDefinition>
- <name>PUBLISH_URL</name>
- <description>This option specifies the URL address to publish build artifacts. The
- format of PUBLISH_URL must be the same as rsync format, which can be a
- local path or remote URL like: <cite>user&#64;hostname:/path/to/publish_dir</cite>.</description>
- <defaultValue></defaultValue>
- </hudson.model.StringParameterDefinition>
- </parameterDefinitions>
- </hudson.model.ParametersDefinitionProperty>
- </properties>
- <scm class="hudson.scm.NullSCM"/>
- <canRoam>true</canRoam>
- <disabled>false</disabled>
- <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
- <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
- <triggers class="vector"/>
- <concurrentBuild>false</concurrentBuild>
- <builders>
- <hudson.tasks.Shell>
- <command>${JENKINS_HOME}/jenkins-scripts/job_build_packagelist</command>
- </hudson.tasks.Shell>
- </builders>
- <publishers/>
- <buildWrappers/>
- </project>
|