Compare commits
1 Commits
23b40bcb5c
...
2cbe3f49aa
Author | SHA1 | Date | |
---|---|---|---|
|
2cbe3f49aa |
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -88,10 +88,10 @@ pipeline {
|
|||||||
sh "mkdir -p /srv/files.blackfinn.de/data/images/${params.BRANCH}/${params.MACHINE}"
|
sh "mkdir -p /srv/files.blackfinn.de/data/images/${params.BRANCH}/${params.MACHINE}"
|
||||||
script {
|
script {
|
||||||
if(params.MACHINE == 'beaglebone-yocto') {
|
if(params.MACHINE == 'beaglebone-yocto') {
|
||||||
sh "mv build/tmp/deploy/images/${params.MACHINE}/zImage--*-${params.MACHINE}-*.bin /srv/files.blackfinn.de/data/images/${params.BRANCH}/${params.MACHINE}/zImage"
|
sh "cp build/tmp/deploy/images/${params.MACHINE}/zImage--*-${params.MACHINE}-*.bin /srv/files.blackfinn.de/data/images/${params.BRANCH}/${params.MACHINE}/zImage"
|
||||||
sh "mv build/tmp/deploy/images/${params.MACHINE}/console-image-${params.MACHINE}-*.rootfs.wic /srv/files.blackfinn.de/data/images/${params.BRANCH}/${params.MACHINE}/console-image.rootfs.wic"
|
sh "cp build/tmp/deploy/images/${params.MACHINE}/console-image-${params.MACHINE}-*.rootfs.wic /srv/files.blackfinn.de/data/images/${params.BRANCH}/${params.MACHINE}/console-image.rootfs.wic"
|
||||||
sh "mv build/tmp/deploy/images/${params.MACHINE}/console-image-${params.MACHINE}-*.rootfs.tar.bz2 /srv/files.blackfinn.de/data/images/${params.BRANCH}/${params.MACHINE}/console-image.rootfs.tar.bz2"
|
sh "cp build/tmp/deploy/images/${params.MACHINE}/console-image-${params.MACHINE}-*.rootfs.tar.bz2 /srv/files.blackfinn.de/data/images/${params.BRANCH}/${params.MACHINE}/console-image.rootfs.tar.bz2"
|
||||||
sh "mv build/tmp/deploy/images/${params.MACHINE}/am335x-boneblack--*-${params.MACHINE}-*.dtb /srv/files.blackfinn.de/data/images/${params.BRANCH}/${params.MACHINE}/am335-boneblack.dtb"
|
sh "cp build/tmp/deploy/images/${params.MACHINE}/am335x-boneblack--*-${params.MACHINE}-*.dtb /srv/files.blackfinn.de/data/images/${params.BRANCH}/${params.MACHINE}/am335-boneblack.dtb"
|
||||||
}
|
}
|
||||||
else if(params.MACHINE == 'raspberrypi3-64') {
|
else if(params.MACHINE == 'raspberrypi3-64') {
|
||||||
sh "mv build/tmp/deploy/images/${params.MACHINE}/Image /srv/files.blackfinn.de/data/images/${params.BRANCH}/${params.MACHINE}"
|
sh "mv build/tmp/deploy/images/${params.MACHINE}/Image /srv/files.blackfinn.de/data/images/${params.BRANCH}/${params.MACHINE}"
|
||||||
|
Loading…
Reference in New Issue
Block a user