simplify it a little
parent
3097cb69aa
commit
91f45965a0
|
|
@ -55,16 +55,14 @@ pipeline {
|
||||||
rm -rf /tmp/url-shortener/features /tmp/url-shortener/spec /tmp/url-shortener/coverage .git*
|
rm -rf /tmp/url-shortener/features /tmp/url-shortener/spec /tmp/url-shortener/coverage .git*
|
||||||
cd /tmp
|
cd /tmp
|
||||||
tar -czvf url-shortener.tgz url-shortener/
|
tar -czvf url-shortener.tgz url-shortener/
|
||||||
mv url-shortener.tgz $CUR_DIR
|
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
archiveArtifacts artifacts: 'url-shortener.tgz'
|
archiveArtifacts artifacts: '/tmp/url-shortener.tgz'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Clean up deliverable') {
|
stage('Clean up deliverable') {
|
||||||
steps {
|
steps {
|
||||||
sh 'rm -rf /tmp/url-shortener'
|
sh 'rm -rf /tmp/url-shortener*'
|
||||||
sh 'rm -rf url-shortener.tgz'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue