jenkins-jobs-common
Description: Jenkins jobs for separate GBS system
+Package: jenkins-jobs-pmb
+Architecture: all
+Depends: ${python:Depends},
+ jenkins-jobs-common
+Description: Jenkins jobs for separate pmb system
+
--- /dev/null
+Tool_Prereview_Test_Receiver/ /var/lib/jenkins/jobs/
+Tool_Prereview_Test_Sender/ /var/lib/jenkins/jobs/
--- /dev/null
+<?xml version='1.0' encoding='UTF-8'?>
+<project>
+ <actions/>
+ <description></description>
+ <keepDependencies>false</keepDependencies>
+ <properties>
+ <hudson.plugins.buildblocker.BuildBlockerProperty plugin="build-blocker-plugin@1.7.3">
+ <useBuildBlocker>false</useBuildBlocker>
+ <blockLevel>GLOBAL</blockLevel>
+ <scanQueueFor>DISABLED</scanQueueFor>
+ <blockingJobs></blockingJobs>
+ </hudson.plugins.buildblocker.BuildBlockerProperty>
+ <jenkins.model.BuildDiscarderProperty>
+ <strategy class="hudson.tasks.LogRotator">
+ <daysToKeep>-1</daysToKeep>
+ <numToKeep>-1</numToKeep>
+ <artifactDaysToKeep>-1</artifactDaysToKeep>
+ <artifactNumToKeep>-1</artifactNumToKeep>
+ </strategy>
+ </jenkins.model.BuildDiscarderProperty>
+ <hudson.model.ParametersDefinitionProperty>
+ <parameterDefinitions>
+ <hudson.model.FileParameterDefinition>
+ <name>file0</name>
+ <description></description>
+ </hudson.model.FileParameterDefinition>
+ <hudson.model.StringParameterDefinition>
+ <name>BUILDMONITOR_IP</name>
+ <description></description>
+ <defaultValue>10.113.136.117</defaultValue>
+ </hudson.model.StringParameterDefinition>
+ <hudson.model.PasswordParameterDefinition>
+ <name>BUILDMONITOR_USER</name>
+ <description></description>
+ <defaultValue>{AQAAABAAAAAQarTJHuiR3de/k9QppmByMiITh4TomAdtQ8bYEaJ8y8U=}</defaultValue>
+ </hudson.model.PasswordParameterDefinition>
+ <hudson.model.PasswordParameterDefinition>
+ <name>BUILDMONITOR_PASS</name>
+ <description></description>
+ <defaultValue>{AQAAABAAAAAQoSBGd6fpahpi16g6iZOBSA6JPRfEU8XQnie2Q6arNPg=}</defaultValue>
+ </hudson.model.PasswordParameterDefinition>
+ <hudson.model.StringParameterDefinition>
+ <name>BUILDMONITOR_NAME</name>
+ <description></description>
+ <defaultValue>tboard</defaultValue>
+ </hudson.model.StringParameterDefinition>
+ </parameterDefinitions>
+ </hudson.model.ParametersDefinitionProperty>
+ </properties>
+ <scm class="hudson.scm.NullSCM"/>
+ <assignedNode>master</assignedNode>
+ <canRoam>false</canRoam>
+ <disabled>false</disabled>
+ <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
+ <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
+ <authToken>123456</authToken>
+ <triggers/>
+ <concurrentBuild>false</concurrentBuild>
+ <builders>
+ <hudson.tasks.Shell>
+ <command>python /var/lib/jenkins/jenkins-scripts/pmb/job_tool_jira_receiver.py</command>
+ </hudson.tasks.Shell>
+ </builders>
+ <publishers/>
+ <buildWrappers/>
+</project>
--- /dev/null
+<?xml version='1.0' encoding='UTF-8'?>
+<project>
+ <actions/>
+ <description></description>
+ <keepDependencies>false</keepDependencies>
+ <properties>
+ <hudson.plugins.buildblocker.BuildBlockerProperty plugin="build-blocker-plugin@1.7.3">
+ <useBuildBlocker>false</useBuildBlocker>
+ <blockLevel>GLOBAL</blockLevel>
+ <scanQueueFor>DISABLED</scanQueueFor>
+ <blockingJobs></blockingJobs>
+ </hudson.plugins.buildblocker.BuildBlockerProperty>
+ <hudson.model.ParametersDefinitionProperty>
+ <parameterDefinitions>
+ <hudson.model.StringParameterDefinition>
+ <name>jobName</name>
+ <description></description>
+ <defaultValue></defaultValue>
+ </hudson.model.StringParameterDefinition>
+ <hudson.model.StringParameterDefinition>
+ <name>buildNumber</name>
+ <description></description>
+ <defaultValue></defaultValue>
+ </hudson.model.StringParameterDefinition>
+ <hudson.model.PasswordParameterDefinition>
+ <name>SPIN_JIRA_USER</name>
+ <description></description>
+ <defaultValue>{AQAAABAAAAAQ0DNGpMw+h9ImCbqBLSNEXr0jRGsCoi3vgudMlkEit4U=}</defaultValue>
+ </hudson.model.PasswordParameterDefinition>
+ <hudson.model.PasswordParameterDefinition>
+ <name>SPIN_JIRA_PW</name>
+ <description></description>
+ <defaultValue>{AQAAABAAAAAQ0F2ppu/jFwNm/4FaNj3eaD+JILH+OQ3DiFfK6bQy2gw=}</defaultValue>
+ </hudson.model.PasswordParameterDefinition>
+ <hudson.model.PasswordParameterDefinition>
+ <name>PUBLIC_JIRA_USER</name>
+ <description></description>
+ <defaultValue>{AQAAABAAAAAQdjiLNBFKO9uyPMZzmmAN3Wc22j1gnMpqLjmgGeigG7w=}</defaultValue>
+ </hudson.model.PasswordParameterDefinition>
+ <hudson.model.PasswordParameterDefinition>
+ <name>PUBLIC_JIRA_PW</name>
+ <description></description>
+ <defaultValue>{AQAAABAAAAAQC9xvLIMKza3R0G37SIfsHI1Bt8AQ3KHcOwT2oHVoOTc=}</defaultValue>
+ </hudson.model.PasswordParameterDefinition>
+ <hudson.model.PasswordParameterDefinition>
+ <name>SPIN_JENKINS_USER</name>
+ <description></description>
+ <defaultValue>{AQAAABAAAAAQLcU1ZUULdpHDzAaT3BF4D77b6WHxR/+e7vU6nDPcix0=}</defaultValue>
+ </hudson.model.PasswordParameterDefinition>
+ <hudson.model.PasswordParameterDefinition>
+ <name>SPIN_JENKINS_PW</name>
+ <description></description>
+ <defaultValue>{AQAAABAAAAAQVqzqk9JK9LSx2+TpgkZYKjl+hQedu2kMkzSvmthIPqA=}</defaultValue>
+ </hudson.model.PasswordParameterDefinition>
+ <hudson.model.PasswordParameterDefinition>
+ <name>DATA_JENKINS_USER</name>
+ <description></description>
+ <defaultValue>{AQAAABAAAAAQrZnIN2soINY1Nc8UMGU7NGquYX8dzbTB7DfVBKG50Eg=}</defaultValue>
+ </hudson.model.PasswordParameterDefinition>
+ <hudson.model.PasswordParameterDefinition>
+ <name>DATA_JENKINS_PW</name>
+ <description></description>
+ <defaultValue>{AQAAABAAAAAQe04b9P//QhbRkf+DHVwcHTAWNzZx8wZKqajHdlspXsk=}</defaultValue>
+ </hudson.model.PasswordParameterDefinition>
+ </parameterDefinitions>
+ </hudson.model.ParametersDefinitionProperty>
+ </properties>
+ <scm class="hudson.scm.NullSCM"/>
+ <assignedNode>master</assignedNode>
+ <canRoam>false</canRoam>
+ <disabled>false</disabled>
+ <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
+ <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
+ <authToken>123456</authToken>
+ <triggers/>
+ <concurrentBuild>false</concurrentBuild>
+ <builders>
+ <hudson.tasks.Shell>
+ <command>cd /var/lib/jenkins/jenkins-scripts/pmb/
+python job_tool_sender.py</command>
+ </hudson.tasks.Shell>
+ </builders>
+ <publishers/>
+ <buildWrappers/>
+</project>
--- /dev/null
+<?xml version='1.1' encoding='UTF-8'?>
+<project>
+ <actions/>
+ <description></description>
+ <keepDependencies>false</keepDependencies>
+ <properties>
+ <hudson.plugins.buildblocker.BuildBlockerProperty plugin="build-blocker-plugin@1.7.3">
+ <useBuildBlocker>false</useBuildBlocker>
+ <blockLevel>GLOBAL</blockLevel>
+ <scanQueueFor>DISABLED</scanQueueFor>
+ <blockingJobs></blockingJobs>
+ </hudson.plugins.buildblocker.BuildBlockerProperty>
+ <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.28">
+ <autoRebuild>false</autoRebuild>
+ <rebuildDisabled>false</rebuildDisabled>
+ </com.sonyericsson.rebuild.RebuildSettings>
+ <jenkins.model.BuildDiscarderProperty>
+ <strategy class="hudson.tasks.LogRotator">
+ <daysToKeep>-1</daysToKeep>
+ <numToKeep>100</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>
+ <trim>false</trim>
+ </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"/>
+ <assignedNode>master</assignedNode>
+ <canRoam>false</canRoam>
+ <disabled>false</disabled>
+ <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
+ <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
+ <triggers/>
+ <concurrentBuild>false</concurrentBuild>
+ <builders>
+ <hudson.tasks.Shell>
+ <command>#!/bin/bash
+
+PUBLIC_apiurl='https://api.tizen.org'
+SPIN_apiurl='http://10.113.136.53:81'
+
+sudo mkdir $WORKSPACE/result
+
+echo ""
+echo "++++++++++++++++++++++++++++++++++++++++++"
+echo "** project : "$project
+echo "** release_id : "$release_id
+echo "** destination : "$destination
+echo "** update_latest_release : "$update_latest_release
+echo "++++++++++++++++++++++++++++++++++++++++++"
+echo ""
+
+
+#!/bin/sh
+
+export
+python ${WORKSPACE}/jenkins-scripts/pmb/job_tool_history_update.py $project $release_id $destination $update_latest_release</command>
+ </hudson.tasks.Shell>
+ </builders>
+ <publishers/>
+ <buildWrappers>
+ <hudson.plugins.ws__cleanup.PreBuildCleanup plugin="ws-cleanup@0.34">
+ <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, jenkins-scripts/common/*, jenkins-scripts/pmb/job_tool_history_update.py</includes>
+ <excludes></excludes>
+ <flatten>false</flatten>
+ <includeAntExcludes>false</includeAntExcludes>
+ <hudsonHomeRelative>false</hudsonHomeRelative>
+ <relativeTo>userContent</relativeTo>
+ </com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper>
+ </buildWrappers>
+</project>
%description gbs
Jenkins jobs for separate GBS system
+%package pmb
+Summary: Jenkins jobs for separate pmb system
+Group: Development/Tools/Building
+Requires: %{name}-common = %{version}-%{release}
+
+%description pmb
+Jenkins jobs for separate pmb system
+
%prep
%setup -q
%dir %{destdir}/BUILD-MONITOR-GBS/
%config %{destdir}/BUILD-MONITOR-GBS/config.xml
+%files pmb
+%defattr(-,jenkins,jenkins)
+%dir /var/lib/jenkins
+%dir %{destdir}/Tool_Prereview_Test_Sender/
+%config %{destdir}/Tool_Prereview_Test_Sender/config.xml
+%dir %{destdir}/Tool_Prereview_Test_Receiver/
+%config %{destdir}/Tool_Prereview_Test_Receiver/config.xml
+%dir %{destdir}/Tool_history_update/
+%config %{destdir}/Tool_history_update/config.xml
+
%changelog