From: Ed Bartosh Date: Mon, 7 Oct 2013 17:00:18 +0000 (+0300) Subject: Added create-snapshot job X-Git-Tag: 0.15~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a9cfa1df780db2215533f2edce621882ea08d31c;p=services%2Fjenkins-jobs.git Added create-snapshot job This job creates new snapshot. It uses repomaker to convert target project repo to snapshot directory structure. Change-Id: I032a646ca431c06847c5eb490b04c535c9d6d827 Signed-off-by: Ed Bartosh --- diff --git a/jobs/create-snapshot/config.xml b/jobs/create-snapshot/config.xml new file mode 100644 index 0000000..8bb9d53 --- /dev/null +++ b/jobs/create-snapshot/config.xml @@ -0,0 +1,87 @@ + + + + + + 7 + 100 + -1 + -1 + + false + + + 100 + + + + + TRIGGER_INFO + + + + + + + + true + false + false + false + + false + + + python ${WORKSPACE}/jenkins-scripts/job_create_snapshot.py + + + + + + + + image_trigger_*.env + SKIP + + + image-creator + ALWAYS + false + false + + + + + + + def matcher = manager.getLogMatcher(".*buildid='(.*)'\$") + +if(matcher?.matches()) { + manager.addShortText(matcher.group(1)) +}else{ + manager.addShortText("??") +} + 0 + + + + + false + + + + configuration, jenkins-scripts/job_create_snapshot.py, jenkins-scripts/common/* + + false + false + false + userContent + + + + ${WORKSPACE}/configuration + false + + + + \ No newline at end of file diff --git a/packaging/jenkins-jobs.spec b/packaging/jenkins-jobs.spec index be17e87..c177cd6 100644 --- a/packaging/jenkins-jobs.spec +++ b/packaging/jenkins-jobs.spec @@ -78,6 +78,8 @@ cp -rf jobs/* %{buildroot}%{destdir}/ %{destdir}/update-local-git/config.xml %dir %{destdir}/submit/ %{destdir}/submit/config.xml +%dir %{destdir}/create-snapshot/ +%{destdir}/create-snapshot/config.xml %files common %defattr(-,jenkins,jenkins)