Проверка5
test-org/test-ci-cd/pipeline/pr-main There was a failure building this commit
Details
test-org/test-ci-cd/pipeline/pr-main There was a failure building this commit
Details
parent
82b6a1b765
commit
23700c92af
|
|
@ -31,6 +31,7 @@ pipeline {
|
|||
steps {
|
||||
script {
|
||||
def hasTags = sh(script: "git tag -l | wc -l", returnStdout: true).trim().toInteger() > 0
|
||||
echo "${hasTags}"
|
||||
if (hasTags) {
|
||||
def lastVersion = sh(script: "git describe --tags --abbrev=0", returnStdout: true).trim()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue