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

Update Jenkinsfile

parent 7cb602b9
Pipeline #21 canceled with stage
pipeline {
agent any
environment {
GIT_COMMIT_MSG = ""
}
stages {
stage('get_commit_msg') {
steps {
script {
env.GIT_COMMIT_MSG = sh (script: 'git log -1 --pretty=%B ${GIT_COMMIT}', returnStdout: true).trim()
HTTPD_LOCATION= sh( returnStdout: true, script: 'git log --oneline -1 | awk \'{print \$1}\'')
}
}
}
......
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