chore: add image version

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

12
Jenkinsfile vendored
View File

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