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

Update Jenkinsfile

parent beca583a
Pipeline #11 canceled with stage
...@@ -2,8 +2,8 @@ pipeline { ...@@ -2,8 +2,8 @@ pipeline {
agent any agent any
stages { stages {
stage('init') { stage('init') {
script { steps {
env.imageTag = sh (script: 'git rev-parse --short HEAD ${GIT_COMMIT}', returnStdout: true).trim() script {env.imageTag = sh (script: 'git rev-parse --short HEAD ${GIT_COMMIT}', returnStdout: true).trim()}
} }
} }
stage('Build') { 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