Compare commits

..

1 Commits

Author SHA1 Message Date
Thomas Klaehn
55c747087b linux-blackfinn: Add Jenkinsfile
Signed-off-by: Thomas Klaehn <thomas.klaehn@u-blox.com>
2019-03-10 06:42:07 +01:00

2
Jenkinsfile vendored
View File

@ -61,11 +61,13 @@ pipeline {
label 'deploy' label 'deploy'
} }
steps { steps {
sh "rm -rf *"
unstash "download_bz2" unstash "download_bz2"
unstash "download_gz" unstash "download_gz"
unstash "download_xz" unstash "download_xz"
sh "mkdir -p /srv/files.blackfinn.de/data/mirror/sources" sh "mkdir -p /srv/files.blackfinn.de/data/mirror/sources"
sh "rsync -zv build/downloads/* /srv/files.blackfinn.de/data/mirror/sources/ || exit 0" sh "rsync -zv build/downloads/* /srv/files.blackfinn.de/data/mirror/sources/ || exit 0"
sh "rm -rf *"
} }
} }
stage('Deploy packages') { stage('Deploy packages') {