Compare commits
1 Commits
2cbe3f49aa
...
2b2c11d8a4
Author | SHA1 | Date | |
---|---|---|---|
|
2b2c11d8a4 |
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -73,10 +73,12 @@ pipeline {
|
||||
label 'deploy'
|
||||
}
|
||||
steps {
|
||||
sh "rm -rf *"
|
||||
unstash "deploy_ipk"
|
||||
sh "mkdir -p /srv/files.blackfinn.de/data/ipk/${params.BRANCH}"
|
||||
sh "rsync -avz build/tmp/deploy/ipk/ /srv/files.blackfinn.de/data/ipk/${params.BRANCH} || exit 0"
|
||||
sh "ipkindex /srv/files.blackfinn.de/data/ipk/${params.BRANCH}"
|
||||
sh "rm -rf *"
|
||||
}
|
||||
}
|
||||
stage('Deploy images') {
|
||||
@ -84,6 +86,7 @@ pipeline {
|
||||
label 'deploy'
|
||||
}
|
||||
steps {
|
||||
sh "rm -rf *"
|
||||
unstash "deploy_images"
|
||||
sh "mkdir -p /srv/files.blackfinn.de/data/images/${params.BRANCH}/${params.MACHINE}"
|
||||
script {
|
||||
@ -102,7 +105,7 @@ pipeline {
|
||||
}
|
||||
}
|
||||
sh "mv build/tmp/deploy/images/${params.MACHINE}/console-image-${params.MACHINE}.manifest /srv/files.blackfinn.de/data/images/${params.BRANCH}/${params.MACHINE}"
|
||||
|
||||
sh "rm -rf *"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user