update_scm_meta_git_for_dashboard /var/lib/jenkins/jobs/
update-nuget /var/lib/jenkins/jobs/
test-trigger-info-update /var/lib/jenkins/jobs/
+Release /var/lib/jenkins/jobs/
+Pre-release /var/lib/jenkins/jobs/
--- /dev/null
+<?xml version='1.0' encoding='UTF-8'?>
+<matrix-project plugin="matrix-project@1.6">
+ <actions/>
+ <description>Publish Services or Tools release to archive/. Optionally update symlink. Run only manually.
+This multi-config job runs on backend or download server, determined by args;
+It skips running on another server.
+</description>
+ <logRotator class="hudson.tasks.LogRotator">
+ <daysToKeep>-1</daysToKeep>
+ <numToKeep>50</numToKeep>
+ <artifactDaysToKeep>-1</artifactDaysToKeep>
+ <artifactNumToKeep>-1</artifactNumToKeep>
+ </logRotator>
+ <keepDependencies>false</keepDependencies>
+ <properties>
+ <hudson.security.AuthorizationMatrixProperty>
+ <permission>hudson.model.Item.Read:anonymous</permission>
+ </hudson.security.AuthorizationMatrixProperty>
+ <hudson.plugins.buildblocker.BuildBlockerProperty plugin="build-blocker-plugin@1.4.1">
+ <useBuildBlocker>false</useBuildBlocker>
+ </hudson.plugins.buildblocker.BuildBlockerProperty>
+ <hudson.queueSorter.PrioritySorterJobProperty plugin="PrioritySorter@2.8">
+ <priority>100</priority>
+ </hudson.queueSorter.PrioritySorterJobProperty>
+ <hudson.model.ParametersDefinitionProperty>
+ <parameterDefinitions>
+ <hudson.model.ChoiceParameterDefinition>
+ <name>project</name>
+ <description></description>
+ <choices class="java.util.Arrays$ArrayList">
+ <a class="string-array">
+ <string>tools</string>
+ <string>services</string>
+ </a>
+ </choices>
+ </hudson.model.ChoiceParameterDefinition>
+ </parameterDefinitions>
+ </hudson.model.ParametersDefinitionProperty>
+ </properties>
+ <scm class="hudson.scm.NullSCM"/>
+ <canRoam>true</canRoam>
+ <disabled>true</disabled>
+ <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
+ <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
+ <triggers/>
+ <concurrentBuild>false</concurrentBuild>
+ <axes>
+ <hudson.matrix.LabelAxis>
+ <name>label</name>
+ <values>
+ <string>backend</string>
+ </values>
+ </hudson.matrix.LabelAxis>
+ </axes>
+ <builders>
+ <hudson.tasks.Shell>
+ <command>#!/bin/sh
+set -x
+RSYNC_OPT='-avz --exclude=micbootstrap --exclude=tizen-downloader --exclude=lthor-tool --exclude=*/repocache --delete-delay'
+
+modify_repo() {
+ OBS_PATH=$1
+ #echo "modify_repo: OBS_PATH=$OBS_PATH"
+ TEMPARCHIVEDIR=$(mktemp -d)
+ rsync $RSYNC_OPT $OBS_PATH/* $TEMPARCHIVEDIR/
+ # Update the repo file to public URL
+ update_repo_file $TEMPARCHIVEDIR/
+ # Extrace release notes
+ extract_release_notes $TEMPARCHIVEDIR/
+}
+
+update_repo_file() {
+ repo_path=$1
+ #echo "update_repo_file: repo_path=$repo_path"
+ old_working_dir=$(pwd)
+ for dir in $(ls $repo_path)
+ do
+ cd $repo_path/$dir
+ # skip if no repo file found
+ [ -f *.repo ] || continue
+
+ # rename the repo file
+ if [ -n "$REPONAME" ]; then
+ # if there're more than one repo file, only keep the last one
+ for repofile in $(ls *.repo)
+ do
+ mv -f $repofile $REPONAME.repo
+ done
+ sed -i "s#^\[.*\]#\[$REPONAME\]#g" $REPONAME.repo
+ sed -i "s#^name=.*#name=$REPONAME#g" $REPONAME.repo
+ # Disable gpgcheck
+ sed -i "/^gpg/ d" $REPONAME.repo
+ sed -i '/enable/ a gpgcheck=0' $REPONAME.repo
+ fi
+ # update baseurl
+ public_url=$BASEURL/$dir
+ sed -i "s#^baseurl.*#baseurl=$public_url#g" *.repo
+ done
+ cd $old_working_dir
+}
+
+extract_release_notes() {
+ repo_dir=$1
+ #echo "extract_release_notes: repo_dir=$repo_dir"
+ dist=($(ls $repo_dir))
+ cwd=$(pwd)
+ rpm_list=$(find $repo_dir -name '*.rpm')
+ temp_list=$(mktemp)
+
+ for rpm in $rpm_list
+ do
+ release_notes_file=$(rpm -qpl $rpm|grep "/RELEASE_NOTES$")
+ release_notes_name=$(echo $release_notes_file|sed 's#/usr/share/doc/packages/\([a-z0-9-]*\)/RELEASE_NOTES#RELEASE_NOTES_\U\1#'|| echo '')
+ [ -n "$release_notes_name" ] || continue
+ grep $release_notes_file $temp_list && continue
+
+ # keep in temp list
+ echo $release_notes_file >> $temp_list
+
+ tempdir=$(mktemp -d)
+ cwd=$(pwd)
+ cd $tempdir
+ rpm2cpio < $rpm |cpio -idmv
+ cd $cwd
+
+ cp $tempdir/$release_notes_file $repo_dir/$release_notes_name.txt
+ rm -r $tempdir
+ done
+ rm $temp_list
+}
+
+######### start of script ########
+# OBS project
+if [ $project = "tools" ]; then
+ obs_project=Tools:
+elif [ $project = "services" ]; then
+ obs_project=Services:
+else
+ echo "Error: Unexpected project value: $project"
+ exit 1
+fi
+
+SRC_PATH=/srv/obs/repos/$obs_project/Pre-release
+DEST_PATH="${IMG_SYNC_DEST_BASE}/$project/pre-release"
+
+if [ ! -d $SRC_PATH ] ; then
+ echo "Error: Source directory $SRC_PATH does not exist"
+ exit 1
+fi
+
+BASEURL=${URL_PUBLIC_REPO_BASE}/$project/pre-release
+REPONAME=$project
+TEMPARCHIVEDIR=""
+
+modify_repo $SRC_PATH
+rsync $RSYNC_OPT $TEMPARCHIVEDIR/* $DEST_PATH/
+
+[ -d $TEMPARCHIVEDIR ] && rm -rf $TEMPARCHIVEDIR</command>
+ </hudson.tasks.Shell>
+ </builders>
+ <publishers/>
+ <buildWrappers/>
+ <executionStrategy class="hudson.matrix.DefaultMatrixExecutionStrategyImpl">
+ <runSequentially>false</runSequentially>
+ </executionStrategy>
+</matrix-project>
--- /dev/null
+<?xml version='1.0' encoding='UTF-8'?>
+<matrix-project plugin="matrix-project@1.10">
+ <actions/>
+ <description>Publish Services or Tools release to archive/. Optionally update symlink. Run only manually.
+This multi-config job runs on backend or download server, determined by args;
+It skips running on another server.
+</description>
+ <keepDependencies>false</keepDependencies>
+ <properties>
+ <hudson.security.AuthorizationMatrixProperty>
+ <permission>hudson.model.Item.Read:anonymous</permission>
+ </hudson.security.AuthorizationMatrixProperty>
+ <hudson.plugins.buildblocker.BuildBlockerProperty plugin="build-blocker-plugin@1.7.3">
+ <useBuildBlocker>false</useBuildBlocker>
+ <blockLevel>UNDEFINED</blockLevel>
+ <scanQueueFor>DISABLED</scanQueueFor>
+ <blockingJobs></blockingJobs>
+ </hudson.plugins.buildblocker.BuildBlockerProperty>
+ <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>-1</daysToKeep>
+ <numToKeep>50</numToKeep>
+ <artifactDaysToKeep>-1</artifactDaysToKeep>
+ <artifactNumToKeep>-1</artifactNumToKeep>
+ </strategy>
+ </jenkins.model.BuildDiscarderProperty>
+ <hudson.model.ParametersDefinitionProperty>
+ <parameterDefinitions>
+ <hudson.model.ChoiceParameterDefinition>
+ <name>project</name>
+ <description></description>
+ <choices class="java.util.Arrays$ArrayList">
+ <a class="string-array">
+ <string>tools</string>
+ <string>services</string>
+ </a>
+ </choices>
+ </hudson.model.ChoiceParameterDefinition>
+ <hudson.model.StringParameterDefinition>
+ <name>release_id</name>
+ <description></description>
+ <defaultValue></defaultValue>
+ </hudson.model.StringParameterDefinition>
+ <hudson.model.ChoiceParameterDefinition>
+ <name>destination</name>
+ <description></description>
+ <choices class="java.util.Arrays$ArrayList">
+ <a class="string-array">
+ <string>staging</string>
+ <string>download.tizen.org</string>
+ </a>
+ </choices>
+ </hudson.model.ChoiceParameterDefinition>
+ <hudson.model.ChoiceParameterDefinition>
+ <name>update_latest_release</name>
+ <description></description>
+ <choices class="java.util.Arrays$ArrayList">
+ <a class="string-array">
+ <string>NO</string>
+ <string>YES</string>
+ </a>
+ </choices>
+ </hudson.model.ChoiceParameterDefinition>
+ </parameterDefinitions>
+ </hudson.model.ParametersDefinitionProperty>
+ </properties>
+ <scm class="hudson.scm.NullSCM"/>
+ <canRoam>true</canRoam>
+ <disabled>false</disabled>
+ <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
+ <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
+ <triggers/>
+ <concurrentBuild>false</concurrentBuild>
+ <axes>
+ <hudson.matrix.LabelAxis>
+ <name>label</name>
+ <values>
+ <string>backend</string>
+ <string>download</string>
+ </values>
+ </hudson.matrix.LabelAxis>
+ </axes>
+ <builders>
+ <hudson.tasks.Shell>
+ <command>#!/bin/sh
+set -x
+RSYNC_OPT='-avz --exclude=micbootstrap --exclude=tizen-downloader --exclude=lthor-tool --exclude=*/repocache --delete-delay'
+
+modify_repo() {
+ OBS_PATH=$1
+ #echo "modify_repo: OBS_PATH=$OBS_PATH"
+ TEMPARCHIVEDIR=$(mktemp -d)
+ rsync $RSYNC_OPT $OBS_PATH/* $TEMPARCHIVEDIR/
+ # Update the repo file to public URL
+ update_repo_file $TEMPARCHIVEDIR/
+ # Extrace release notes
+ extract_release_notes $TEMPARCHIVEDIR/
+}
+
+update_repo_file() {
+ repo_path=$1
+ #echo "update_repo_file: repo_path=$repo_path"
+ old_working_dir=$(pwd)
+ for dir in $(ls $repo_path)
+ do
+ cd $repo_path/$dir
+ # skip if no repo file found
+ [ -f *.repo ] || continue
+
+ # rename the repo file
+ if [ -n "$REPONAME" ]; then
+ # if there're more than one repo file, only keep the last one
+ for repofile in $(ls *.repo)
+ do
+ mv -f $repofile $REPONAME.repo
+ done
+ sed -i "s#^\[.*\]#\[$REPONAME\]#g" $REPONAME.repo
+ sed -i "s#^name=.*#name=$REPONAME#g" $REPONAME.repo
+ # Disable gpgcheck
+ sed -i "/^gpg/ d" $REPONAME.repo
+ sed -i '/enable/ a gpgcheck=0' $REPONAME.repo
+ fi
+ # update baseurl
+ public_url=$BASEURL/$dir
+ sed -i "s#^baseurl.*#baseurl=$public_url#g" *.repo
+ done
+ cd $old_working_dir
+}
+
+extract_release_notes() {
+ repo_dir=$1
+ #echo "extract_release_notes: repo_dir=$repo_dir"
+ dist=$(ls $repo_dir)
+ cwd=$(pwd)
+ rpm_list=$(find $repo_dir -name '*.rpm')
+ temp_list=$(mktemp)
+
+ for rpm in $rpm_list
+ do
+ release_notes_file=$(rpm -qpl $rpm|grep "/RELEASE_NOTES$")
+ release_notes_name=$(echo $release_notes_file|sed 's#/usr/share/doc/packages/\([a-z0-9-]*\)/RELEASE_NOTES#RELEASE_NOTES_\U\1#'|| echo '')
+ [ -n "$release_notes_name" ] || continue
+ grep $release_notes_file $temp_list && continue
+
+ # keep in temp list
+ echo $release_notes_file >> $temp_list
+
+ tempdir=$(mktemp -d)
+ cwd=$(pwd)
+ cd $tempdir
+ rpm2cpio < $rpm |cpio -idmv
+ cd $cwd
+
+ cp $tempdir/$release_notes_file $repo_dir/$release_notes_name.txt
+ rm -r $tempdir
+ done
+ rm $temp_list
+}
+
+######### start of script ########
+if [ -z "$release_id" ] ; then
+ echo "Error: release_id is mandatory."
+ exit 1
+fi
+
+if [ $project = "tools" ]; then
+ obs_project=Tools
+elif [ $project = "services" ]; then
+ obs_project=Services
+else
+ echo "Error: Unexpected project value: $project"
+ exit 1
+fi
+
+case $destination in
+ 'staging')
+ [ $label != backend ] && exit 0
+ staging=.staging/
+ SRC_PATH=/srv/obs/repos/$obs_project
+ DEST_PATH="${IMG_SYNC_DEST_BASE}/${project}/.staging"
+ ;;
+ 'download.tizen.org')
+ [ $label != download ] && exit 0
+ staging=""
+ SRC_PATH=/srv/www/download.tizen.org/$project/.staging/archive/$release_id
+ DEST_PATH=/srv/www/download.tizen.org/$project
+ ;;
+ *)
+ echo "Error: Wrong destination"
+ exit 1
+esac
+
+if [ ! -d $SRC_PATH ] ; then
+ echo "Error: Source directory $SRC_PATH does not exist"
+ exit 1
+fi
+
+BASEURL=${URL_PUBLIC_REPO_BASE}/$project/${staging}archive/$release_id
+REPONAME=$project
+TEMPARCHIVEDIR=""
+
+modify_repo $SRC_PATH
+rsync $RSYNC_OPT $TEMPARCHIVEDIR/* $DEST_PATH/archive/$release_id
+
+if [ "$update_latest_release" = "YES" ]; then
+ [ AAA${TEMPARCHIVEDIR} = "AAA" ] && modify_repo $SRC_PATH
+ rsync $RSYNC_OPT $TEMPARCHIVEDIR/* $DEST_PATH/latest-release
+fi
+[ -d $TEMPARCHIVEDIR ] && rm -rf $TEMPARCHIVEDIR</command>
+ </hudson.tasks.Shell>
+ </builders>
+ <publishers/>
+ <buildWrappers/>
+ <executionStrategy class="hudson.matrix.DefaultMatrixExecutionStrategyImpl">
+ <runSequentially>false</runSequentially>
+ </executionStrategy>
+</matrix-project>
</axes>
<builders>
<hudson.tasks.Shell>
- <command>package=$(basename $GERRIT_PROJECT)
-/usr/bin/tools-testing-run-test.sh $package Services -u git://review.prod.infra.tizen.org/services/$package.git --skip-disabled
+ <command>#/bin/bash
+
+/usr/bin/tools-testing-run-test.sh `basename ${GERRIT_PROJECT}` Services -u git://${GIT_HOSTNAME}/${GERRIT_PROJECT}.git --skip-disabled
</command>
</hudson.tasks.Shell>
</builders>
<publishers/>
<buildWrappers>
+ <com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper plugin="copy-to-slave@1.4.4">
+ <includes>configuration</includes>
+ <excludes></excludes>
+ <flatten>false</flatten>
+ <includeAntExcludes>false</includeAntExcludes>
+ <hudsonHomeRelative>false</hudsonHomeRelative>
+ <relativeTo>userContent</relativeTo>
+ </com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper>
<EnvInjectBuildWrapper plugin="envinject@2.0">
<info>
- <propertiesContent>EXTRA_REPOS=openSUSE-12.3:http://download.prod.infra.tizen.org/Tools:/Devel/openSUSE_12.3/\
-openSUSE-13.1:http://download.prod.infra.tizen.org/Tools:/Devel/openSUSE_13.1/\
-openSUSE-13.2:http://download.prod.infra.tizen.org/Tools:/Devel/openSUSE_13.2/
+ <propertiesFilePath>${WORKSPACE}/configuration</propertiesFilePath>
+ <propertiesContent>EXTRA_REPOS=openSUSE-12.3:${URL_PUBLIC_REPO_BASE}/Tools:/Devel/openSUSE_12.3/\
+openSUSE-13.1:${URL_PUBLIC_REPO_BASE}/Tools:/Devel/openSUSE_13.1/\
+openSUSE-13.2:${URL_PUBLIC_REPO_BASE}/Tools:/Devel/openSUSE_13.2/
TEST_REQUIRES=openSUSE-12.3:python-pytest\
openSUSE-13.1:python-pytest\
</axes>
<builders>
<hudson.tasks.Shell>
- <command>/usr/bin/tools-testing-run-test.sh jenkins-scripts Services -u git://review.prod.infra.tizen.org/services/jenkins-scripts.git
+ <command>#/bin/bash
+
+/usr/bin/tools-testing-run-test.sh `basename ${GERRIT_PROJECT}` Services -u git://${GIT_HOSTNAME}/${GERRIT_PROJECT}.git
</command>
</hudson.tasks.Shell>
</builders>
</hudson.plugins.violations.ViolationsPublisher>
</publishers>
<buildWrappers>
- <hudson.plugins.ws__cleanup.PreBuildCleanup plugin="ws-cleanup@0.32">
+ <hudson.plugins.ws__cleanup.PreBuildCleanup plugin="ws-cleanup@0.33">
<deleteDirs>false</deleteDirs>
<cleanupParameter></cleanupParameter>
<externalDelete></externalDelete>
</hudson.plugins.ws__cleanup.PreBuildCleanup>
+ <com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper plugin="copy-to-slave@1.4.4">
+ <includes>configuration</includes>
+ <excludes></excludes>
+ <flatten>false</flatten>
+ <includeAntExcludes>false</includeAntExcludes>
+ <hudsonHomeRelative>false</hudsonHomeRelative>
+ <relativeTo>userContent</relativeTo>
+ </com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper>
<EnvInjectBuildWrapper plugin="envinject@2.0">
<info>
- <propertiesContent>EXTRA_REPOS=openSUSE-12.3:http://download.prod.infra.tizen.org/Tools:/Devel/openSUSE_12.3/\
-openSUSE-13.1:http://download.prod.infra.tizen.org/Tools:/Devel/openSUSE_13.1/\
-openSUSE-13.2:http://download.prod.infra.tizen.org/Tools:/Devel/openSUSE_13.2/
+ <propertiesFilePath>${WORKSPACE}/configuration</propertiesFilePath>
+ <propertiesContent>EXTRA_REPOS=openSUSE-12.3:${URL_PUBLIC_REPO_BASE}/Tools:/Devel/openSUSE_12.3/\
+openSUSE-13.1:${URL_PUBLIC_REPO_BASE}/Tools:/Devel/openSUSE_13.1/\
+openSUSE-13.2:${URL_PUBLIC_REPO_BASE}/Tools:/Devel/openSUSE_13.2/
+
TEST_REQUIRES=openSUSE-12.3:python-mock python-nose\
openSUSE-13.1:python-mock python-nose\
openSUSE-13.2:python-mock python-nose</propertiesContent>
</axes>
<builders>
<hudson.tasks.Shell>
- <command>/usr/bin/tools-testing-run-test.sh obs-service-git-buildpackage Services -u git://review.prod.infra.tizen.org/services/obs-service-git-buildpackage.git
+ <command>#/bin/bash
+
+/usr/bin/tools-testing-run-test.sh `basename ${GERRIT_PROJECT}` Services -u git://${GIT_HOSTNAME}/${GERRIT_PROJECT}.git
+
</command>
</hudson.tasks.Shell>
</builders>
</hudson.plugins.violations.ViolationsPublisher>
</publishers>
<buildWrappers>
+ <com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper plugin="copy-to-slave@1.4.4">
+ <includes>configuration</includes>
+ <excludes></excludes>
+ <flatten>false</flatten>
+ <includeAntExcludes>false</includeAntExcludes>
+ <hudsonHomeRelative>false</hudsonHomeRelative>
+ <relativeTo>userContent</relativeTo>
+ </com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper>
<EnvInjectBuildWrapper plugin="envinject@2.0">
<info>
- <propertiesContent>EXTRA_REPOS=openSUSE-12.3:http://download.prod.infra.tizen.org/Tools:/Devel/openSUSE_12.3/\
-openSUSE-13.1:http://download.prod.infra.tizen.org/Tools:/Devel/openSUSE_13.1/\
-openSUSE-13.2:http://download.prod.infra.tizen.org/Tools:/Devel/openSUSE_13.2/
+ <propertiesFilePath>${WORKSPACE}/configuration</propertiesFilePath>
+ <propertiesContent>EXTRA_REPOS=openSUSE-12.3:${URL_PUBLIC_REPO_BASE}/Tools:/Devel/openSUSE_12.3/\
+openSUSE-13.1:${URL_PUBLIC_REPO_BASE}/Tools:/Devel/openSUSE_13.1/\
+openSUSE-13.2:${URL_PUBLIC_REPO_BASE}/Tools:/Devel/openSUSE_13.2/
+
TEST_REQUIRES=openSUSE-12.3:python-mock python-nose\
openSUSE-13.1:python-mock python-nose\
openSUSE-13.2:python-mock python-nose</propertiesContent>
</axes>
<builders>
<hudson.tasks.Shell>
- <command>/usr/bin/tools-testing-run-test.sh python-snapdiff Services -u git://review.prod.infra.tizen.org/services/python-snapdiff.git
+ <command>#/bin/bash
+
+/usr/bin/tools-testing-run-test.sh `basename ${GERRIT_PROJECT}` Services -u git://${GIT_HOSTNAME}/${GERRIT_PROJECT}.git
+
</command>
</hudson.tasks.Shell>
</builders>
</hudson.plugins.violations.ViolationsPublisher>
</publishers>
<buildWrappers>
+ <com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper plugin="copy-to-slave@1.4.4">
+ <includes>configuration</includes>
+ <excludes></excludes>
+ <flatten>false</flatten>
+ <includeAntExcludes>false</includeAntExcludes>
+ <hudsonHomeRelative>false</hudsonHomeRelative>
+ <relativeTo>userContent</relativeTo>
+ </com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper>
<EnvInjectBuildWrapper plugin="envinject@2.0">
<info>
- <propertiesContent>EXTRA_REPOS=openSUSE-12.3:http://download.prod.infra.tizen.org/Tools:/Devel/openSUSE_12.3/\
-openSUSE-13.1:http://download.prod.infra.tizen.org/Tools:/Devel/openSUSE_13.1/\
-openSUSE-13.2:http://download.prod.infra.tizen.org/Tools:/Devel/openSUSE_13.2/
+ <propertiesFilePath>${WORKSPACE}/configuration</propertiesFilePath>
+ <propertiesContent>EXTRA_REPOS=openSUSE-12.3:${URL_PUBLIC_REPO_BASE}/Tools:/Devel/openSUSE_12.3/\
+openSUSE-13.1:${URL_PUBLIC_REPO_BASE}/Tools:/Devel/openSUSE_13.1/\
+openSUSE-13.2:${URL_PUBLIC_REPO_BASE}/Tools:/Devel/openSUSE_13.2/
</propertiesContent>
<secureGroovyScript plugin="script-security@1.27">
<script></script>
</axes>
<builders>
<hudson.tasks.Shell>
- <command>package=$(basename $GERRIT_PROJECT)
-/usr/bin/tools-testing-run-test.sh $package Tools -u git://review.prod.infra.tizen.org/tools/$package.git --skip-disabled
+ <command>#/bin/bash
+
+/usr/bin/tools-testing-run-test.sh `basename ${GERRIT_PROJECT}` Tools -u git://${GIT_HOSTNAME}/${GERRIT_PROJECT}.git --skip-disabled
</command>
</hudson.tasks.Shell>
</builders>
<publishers/>
<buildWrappers>
+ <com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper plugin="copy-to-slave@1.4.4">
+ <includes>configuration</includes>
+ <excludes></excludes>
+ <flatten>false</flatten>
+ <includeAntExcludes>false</includeAntExcludes>
+ <hudsonHomeRelative>false</hudsonHomeRelative>
+ <relativeTo>userContent</relativeTo>
+ </com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper>
<EnvInjectBuildWrapper plugin="envinject@2.0">
<info>
+ <propertiesFilePath>${WORKSPACE}/configuration</propertiesFilePath>
<secureGroovyScript plugin="script-security@1.27">
<script></script>
<sandbox>false</sandbox>
</axes>
<builders>
<hudson.tasks.Shell>
- <command>/usr/bin/tools-testing-run-test.sh bmap-tools Tools -u git://review.prod.infra.tizen.org/tools/bmap-tools.git
+ <command>#/bin/bash
+
+/usr/bin/tools-testing-run-test.sh `basename ${GERRIT_PROJECT}` Tools -u git://${GIT_HOSTNAME}/${GERRIT_PROJECT}.git
</command>
</hudson.tasks.Shell>
</builders>
</hudson.plugins.violations.ViolationsPublisher>
</publishers>
<buildWrappers>
+ <com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper plugin="copy-to-slave@1.4.4">
+ <includes>configuration</includes>
+ <excludes></excludes>
+ <flatten>false</flatten>
+ <includeAntExcludes>false</includeAntExcludes>
+ <hudsonHomeRelative>false</hudsonHomeRelative>
+ <relativeTo>userContent</relativeTo>
+ </com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper>
<EnvInjectBuildWrapper plugin="envinject@2.0">
<info>
+ <propertiesFilePath>${WORKSPACE}/configuration</propertiesFilePath>
<secureGroovyScript plugin="script-security@1.27">
<script></script>
<sandbox>false</sandbox>
</axes>
<builders>
<hudson.tasks.Shell>
- <command>/usr/bin/tools-testing-run-test.sh gbs Tools -u git://review.prod.infra.tizen.org/tools/gbs.git
+ <command>#/bin/bash
+
+/usr/bin/tools-testing-run-test.sh `basename ${GERRIT_PROJECT}` Tools -u git://${GIT_HOSTNAME}/${GERRIT_PROJECT}.git
</command>
</hudson.tasks.Shell>
</builders>
</hudson.plugins.violations.ViolationsPublisher>
</publishers>
<buildWrappers>
+ <com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper plugin="copy-to-slave@1.4.4">
+ <includes>configuration</includes>
+ <excludes></excludes>
+ <flatten>false</flatten>
+ <includeAntExcludes>false</includeAntExcludes>
+ <hudsonHomeRelative>false</hudsonHomeRelative>
+ <relativeTo>userContent</relativeTo>
+ </com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper>
<EnvInjectBuildWrapper plugin="envinject@2.0">
<info>
+ <propertiesFilePath>${WORKSPACE}/configuration</propertiesFilePath>
<secureGroovyScript plugin="script-security@1.27">
<script></script>
<sandbox>false</sandbox>
</axes>
<builders>
<hudson.tasks.Shell>
- <command>/usr/bin/tools-testing-run-test.sh git-buildpackage Tools -u git://review.prod.infra.tizen.org/tools/git-buildpackage.git</command>
+ <command>#/bin/bash
+
+/usr/bin/tools-testing-run-test.sh `basename ${GERRIT_PROJECT}` Tools -u git://${GIT_HOSTNAME}/${GERRIT_PROJECT}.git
+</command>
</hudson.tasks.Shell>
</builders>
<publishers>
</hudson.plugins.violations.ViolationsPublisher>
</publishers>
<buildWrappers>
+ <com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper plugin="copy-to-slave@1.4.4">
+ <includes>configuration</includes>
+ <excludes></excludes>
+ <flatten>false</flatten>
+ <includeAntExcludes>false</includeAntExcludes>
+ <hudsonHomeRelative>false</hudsonHomeRelative>
+ <relativeTo>userContent</relativeTo>
+ </com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper>
<EnvInjectBuildWrapper plugin="envinject@2.0">
<info>
+ <propertiesFilePath>${WORKSPACE}/configuration</propertiesFilePath>
<propertiesContent>TEST_REQUIRES=CentOS-6.6:tar pristine-tar unzip gnupg man python-mock librpm-tizen dpkg-devel\
openSUSE-12.2:tar pristine-tar unzip man\
openSUSE-12.3:tar pristine-tar unzip man\
</axes>
<builders>
<hudson.tasks.Shell>
- <command>/usr/bin/tools-testing-run-test.sh mic Tools -u git://review.prod.infra.tizen.org/tools/mic.git
+ <command>#/bin/bash
+
+/usr/bin/tools-testing-run-test.sh `basename ${GERRIT_PROJECT}` Tools -u git://${GIT_HOSTNAME}/${GERRIT_PROJECT}.git
</command>
</hudson.tasks.Shell>
</builders>
</hudson.plugins.violations.ViolationsPublisher>
</publishers>
<buildWrappers>
+ <com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper plugin="copy-to-slave@1.4.4">
+ <includes>configuration</includes>
+ <excludes></excludes>
+ <flatten>false</flatten>
+ <includeAntExcludes>false</includeAntExcludes>
+ <hudsonHomeRelative>false</hudsonHomeRelative>
+ <relativeTo>userContent</relativeTo>
+ </com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper>
<EnvInjectBuildWrapper plugin="envinject@2.0">
<info>
+ <propertiesFilePath>${WORKSPACE}/configuration</propertiesFilePath>
<secureGroovyScript plugin="script-security@1.27">
<script></script>
<sandbox>false</sandbox>
</axes>
<builders>
<hudson.tasks.Shell>
- <command>/usr/bin/tools-testing-run-test.sh repa Tools -u git://review.prod.infra.tizen.org/tools/repa.git
+ <command>#/bin/bash
+
+/usr/bin/tools-testing-run-test.sh `basename ${GERRIT_PROJECT}` Tools -u git://${GIT_HOSTNAME}/${GERRIT_PROJECT}.git
</command>
</hudson.tasks.Shell>
</builders>
</hudson.plugins.violations.ViolationsPublisher>
</publishers>
<buildWrappers>
+ <com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper plugin="copy-to-slave@1.4.4">
+ <includes>configuration</includes>
+ <excludes></excludes>
+ <flatten>false</flatten>
+ <includeAntExcludes>false</includeAntExcludes>
+ <hudsonHomeRelative>false</hudsonHomeRelative>
+ <relativeTo>userContent</relativeTo>
+ </com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper>
<EnvInjectBuildWrapper plugin="envinject@2.0">
<info>
+ <propertiesFilePath>${WORKSPACE}/configuration</propertiesFilePath>
<secureGroovyScript plugin="script-security@1.27">
<script></script>
<sandbox>false</sandbox>
<publishers>
<org.jvnet.hudson.plugins.groovypostbuild.GroovyPostbuildRecorder plugin="groovy-postbuild@2.3.1">
<script plugin="script-security@1.27">
- <script>def project = manager.getLogMatcher('.*"project": "(.*)".*')
+ <script>def project = manager.getLogMatcher('.*"project": "home:prerelease:(.*):submit:(.*)".*')
if(project?.matches()) {
manager.addShortText("\n")
</info>
</EnvInjectBuildWrapper>
</buildWrappers>
-</project>
\ No newline at end of file
+</project>
</configs>
</hudson.plugins.parameterizedtrigger.BuildTrigger>
<hudson.tasks.Mailer plugin="mailer@1.20">
- <recipients>onstudy@samsung.com</recipients>
+ <recipients>tizen.build@samsung.com</recipients>
<dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
<sendToIndividuals>false</sendToIndividuals>
</hudson.tasks.Mailer>
</info>
</EnvInjectBuildWrapper>
</buildWrappers>
-</project>
\ No newline at end of file
+</project>
<useBuildBlocker>true</useBuildBlocker>
<blockLevel>UNDEFINED</blockLevel>
<scanQueueFor>DISABLED</scanQueueFor>
- <blockingJobs>image-creator</blockingJobs>
+ <blockingJobs>image-creator
+create-snapshot</blockingJobs>
</hudson.plugins.buildblocker.BuildBlockerProperty>
<jenkins.model.BuildDiscarderProperty>
<strategy class="hudson.tasks.LogRotator">
<scanQueueFor>DISABLED</scanQueueFor>
<blockingJobs></blockingJobs>
</hudson.plugins.buildblocker.BuildBlockerProperty>
+ <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>
<artifactNumToKeep>-1</artifactNumToKeep>
</strategy>
</jenkins.model.BuildDiscarderProperty>
- <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.25">
- <autoRebuild>false</autoRebuild>
- <rebuildDisabled>false</rebuildDisabled>
- </com.sonyericsson.rebuild.RebuildSettings>
<hudson.model.ParametersDefinitionProperty>
<parameterDefinitions>
<hudson.model.StringParameterDefinition>
<description></description>
<defaultValue></defaultValue>
</hudson.model.StringParameterDefinition>
- <hudson.model.ChoiceParameterDefinition>
+ <hudson.model.StringParameterDefinition>
<name>profile</name>
- <description></description>
- <choices class="java.util.Arrays$ArrayList">
- <a class="string-array">
- <string></string>
- <string>Tizen:3.0:Mobile</string>
- <string>Tizen:3.0:Wearable</string>
- <string>Tizen:3.0:TV</string>
- <string>Tizen:3.0:Base</string>
- </a>
- </choices>
- </hudson.model.ChoiceParameterDefinition>
+ <description>Tizen:Unified
+Tizen:3.0:Mobile
+Tizen:3.0:Wearable
+Tizen:3.0:TV
+Tizen:3.0:Base</description>
+ <defaultValue></defaultValue>
+ </hudson.model.StringParameterDefinition>
<hudson.model.StringParameterDefinition>
<name>release_id</name>
<description>Example: tizen-3.0-wearable_20161223.2</description>
<behavior>0</behavior>
<runForMatrixParent>false</runForMatrixParent>
</org.jvnet.hudson.plugins.groovypostbuild.GroovyPostbuildRecorder>
- <hudson.plugins.ws__cleanup.WsCleanup plugin="ws-cleanup@0.32">
+ <hudson.plugins.ws__cleanup.WsCleanup plugin="ws-cleanup@0.33">
<patterns class="empty-list"/>
<deleteDirs>false</deleteDirs>
<skipWhenFailed>false</skipWhenFailed>
</hudson.plugins.parameterizedtrigger.TriggerBuilder>
</builders>
<publishers>
- <org.jvnet.hudson.plugins.groovypostbuild.GroovyPostbuildRecorder plugin="groovy-postbuild@2.3.1">
- <script plugin="script-security@1.27">
- <script>def prj = manager.getLogMatcher('.*"targetproject": "(.*)".*')
-def pkg = manager.getLogMatcher('.*"targetpackage": "(.*)".*')
-def state = manager.getLogMatcher('.*"state": "(.*)".*')
-def sr = manager.getLogMatcher('.*"id": "(.*)".*')
-manager.addShortText(prj.group(1)+':'+pkg.group(1)+':'+state.group(1)+':'+sr.group(1))
-</script>
- <sandbox>false</sandbox>
- </script>
- <behavior>0</behavior>
- <runForMatrixParent>false</runForMatrixParent>
- </org.jvnet.hudson.plugins.groovypostbuild.GroovyPostbuildRecorder>
<hudson.tasks.Mailer plugin="mailer@1.20">
- <recipients>onstudy@samsung.com</recipients>
+ <recipients>tizen.build@samsung.com</recipients>
<dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
<sendToIndividuals>false</sendToIndividuals>
</hudson.tasks.Mailer>
</properties>
<scm class="hudson.scm.NullSCM"/>
<canRoam>true</canRoam>
- <disabled>true</disabled>
+ <disabled>false</disabled>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
<triggers/>
</info>
</EnvInjectBuildWrapper>
</buildWrappers>
-</project>
\ No newline at end of file
+</project>
%config %{destdir}/update_local_git_for_dashboard/config.xml
%dir %{destdir}/test-trigger-info-update/
%config %{destdir}/test-trigger-info-update/config.xml
+%dir %{destdir}/Release/
+%config %{destdir}/Release/config.xml
+%dir %{destdir}/Pre-release/
+%config %{destdir}/Pre-release/config.xml
%files common
%defattr(-,jenkins,jenkins)