back to simple log
This commit is contained in:
parent
ecbdbfc291
commit
c5a16dd2c3
3
install/ci/Jenkinsfile
vendored
3
install/ci/Jenkinsfile
vendored
@ -1,8 +1,7 @@
|
||||
stage('install:ci') {
|
||||
def tag = sh(returnStdout: true, script: "git tag --contains").trim()
|
||||
def branchName = sh(returnStdout: true, script: "git rev-parse --abbrev-ref HEAD").trim()
|
||||
// def lastLog = sh(returnStdout: true, script: "git log -1").trim()
|
||||
def lastLog = sh(returnStdout: true, script: "git show -s --format='%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative").trim()
|
||||
def lastLog = sh(returnStdout: true, script: "git log -1").trim()
|
||||
if (tag) {
|
||||
currentBuild.displayName = "#${BUILD_NUMBER}, tag ${tag}"
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user