Commit 34427076 authored by Harald Sitter's avatar Harald Sitter 💣

parallel ftw

parent 3f1efedd
...@@ -4,17 +4,23 @@ env.PWD_BIND = '/workspace' ...@@ -4,17 +4,23 @@ env.PWD_BIND = '/workspace'
cleanNode('os-autoinst') { cleanNode('os-autoinst') {
try { try {
stage('tree-wget') { stage('tree[wget]') {
sh 'wget -q http://metadata.neon.kde.org/os-autoinst/${TYPE}.tar' sh "wget -q http://metadata.neon.kde.org/os-autoinst/${env.TYPE}.tar"
sh 'wget -q http://metadata.neon.kde.org/os-autoinst/${TYPE}.tar.sig' sh "wget -q http://metadata.neon.kde.org/os-autoinst/${env.TYPE}.tar.sig"
} }
stage('tree-verify') { parallel(
sh 'gpg2 --recv-keys "348C 8651 2066 33FD 983A 8FC4 DEAC EA00 075E 1D76"' "tree[verify]": {
sh 'gpg2 --verify ${TYPE}.tar.sig' sh 'gpg2 --recv-keys "348C 8651 2066 33FD 983A 8FC4 DEAC EA00 075E 1D76"'
} sh 'gpg2 --verify ${TYPE}.tar.sig'
stage('tree-untar') { },
sh 'tar -xvf ${TYPE}.tar' "tree[untar]": {
sh 'ls -lah' sh 'tar -xf ${TYPE}.tar'
sh 'ls -lah'
}
)
stage('pull') {
sh 'git branch --set-upstream-to=origin/master master'
sh 'git pull'
} }
stage('test-plasma_folder') { stage('test-plasma_folder') {
sh 'TESTS_TO_RUN=tests/plasma_folder.pm bin/contain.rb /workspace/bin/bootstrap.rb' sh 'TESTS_TO_RUN=tests/plasma_folder.pm bin/contain.rb /workspace/bin/bootstrap.rb'
...@@ -22,7 +28,7 @@ cleanNode('os-autoinst') { ...@@ -22,7 +28,7 @@ cleanNode('os-autoinst') {
} finally { } finally {
archiveArtifacts 'wok/testresults/*.png, wok/testresults/*.json, wok/ulogs/*, wok/video.ogv' archiveArtifacts 'wok/testresults/*.png, wok/testresults/*.json, wok/ulogs/*, wok/video.ogv'
junit 'junit/*' junit 'junit/*'
sh 'bin/contain.rb chown -R jenkins .' sh 'bin/contain.rb chown -R jenkins . || true'
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment