Skip to content

Commit 5ab0d9e

Browse files
committed
upload correct image to artifact server
Signed-off-by: Avinash Tahakik <[email protected]>
1 parent 0cef66f commit 5ab0d9e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Jenkinsfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,16 @@ node('docker && imgtec') {
33
docker_image = docker.image "imgtec/creator-builder:latest" // TODO for now using the creator one
44
docker_image.inside {
55
stage('Prepare') {
6+
deleteDir() // clean up the workspace to save space
67
checkout scm
78
}
89
stage('Build') {
910
sh 'make CROSS_COMPILE=/opt/toolchains/mips-img-linux-gnu/2016.05-03/bin/mips-img-linux-gnu- pistachio_marduk_defconfig'
1011
sh 'make CROSS_COMPILE=/opt/toolchains/mips-img-linux-gnu/2016.05-03/bin/mips-img-linux-gnu-'
1112
}
1213
stage('Upload') {
13-
archiveArtifacts 'u-boot-pistachio-nor.img'
14+
archiveArtifacts 'u-boot-pistachio*.img'
15+
deleteDir() // clean up the workspace to save space
1416
}
1517
}
1618
}

0 commit comments

Comments
 (0)