chore: add image version

This commit is contained in:
jerry
2022-05-01 10:43:02 +08:00
parent 28ea231170
commit 1e04500382

14
Jenkinsfile vendored
View File

@@ -4,12 +4,16 @@ pipeline {
stage('build') { stage('build') {
agent { agent {
docker { docker {
image 'shenmo7192/uos-21-dtk5.4' image 'shenmo7192/uos-21-dtk5.4:v1.0'
} }
} }
steps { steps {
sh 'dpkg-buildpackage && tree .' sh 'dpkg-buildpackage && tree .'
}
}
stage('archive') {
steps {
archiveArtifacts(artifacts: 'build/src/spark-store', allowEmptyArchive: true, defaultExcludes: true) archiveArtifacts(artifacts: 'build/src/spark-store', allowEmptyArchive: true, defaultExcludes: true)
} }
} }
@@ -19,15 +23,13 @@ pipeline {
dockerfile { dockerfile {
filename '.gitee/Dockerfile' filename '.gitee/Dockerfile'
} }
} }
environment { environment {
gitee_token = credentials('1') gitee_token = credentials('1')
} }
steps { steps {
sh "python3 .gitee/callback.py" sh 'python3 .gitee/callback.py'
} }
} }
} }
} }