Skip to main content
summaryrefslogtreecommitdiffstats
blob: 854f1356175b1724548faac44ca41ac510de2165 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
promoteSignal=/opt/public/modeling/mdt/papyrus/papyrus-0.10-maintenance-nightly-tests/promoteSignal
promoteDirName=/opt/public/modeling/mdt/papyrus/papyrus-0.10-maintenance-nightly-tests/promoteDirName
# note: the version and build id used by the cronPromote.sh are taken from papyrus-0.10-maintenance-nightly

zipName="Papyrus-TestResults.zip"

rm -rf tmp
mkdir -p tmp
cp -r buildroot/result/testresults tmp

# copy the build log into the result
wget --quiet --no-check-certificate ${HUDSON_URL}/job/${JOB_NAME}/${BUILD_NUMBER}/consoleText -O "${WORKSPACE}/tmp/testresults/buildlog.txt"

# create the test results zip
(cd tmp && zip -r "$zipName" *)
mv "tmp/$zipName" .

if [ "$BUILD_TYPE" == "N" ]; then
	touch $promoteSignal
fi

Back to the top