Commit de316167 authored by 郭灿峰's avatar 郭灿峰

Update Jenkinsfile

parent beca583a
Pipeline #11 canceled with stage
......@@ -2,8 +2,8 @@ pipeline {
agent any
stages {
stage('init') {
script {
env.imageTag = sh (script: 'git rev-parse --short HEAD ${GIT_COMMIT}', returnStdout: true).trim()
steps {
script {env.imageTag = sh (script: 'git rev-parse --short HEAD ${GIT_COMMIT}', returnStdout: true).trim()}
}
}
stage('Build') {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment