Compare commits

..

1 Commits

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

2
Jenkinsfile vendored
View File

@ -61,13 +61,11 @@ 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') {