2022-09-17 18:45:43 +03:00
|
|
|
stage('install:ci') {
|
2024-04-11 12:47:41 +03:00
|
|
|
def tag = sh(returnStdout: true, script: "git tag --contains").trim()
|
|
|
|
if (tag) {
|
|
|
|
currentBuild.displayName = "#${BUILD_NUMBER}, tag${tag}"
|
|
|
|
} else {
|
|
|
|
currentBuild.displayName = "#${BUILD_NUMBER}, branch ${BRANCH}"
|
|
|
|
}
|
|
|
|
currentBuild.description = "#${BUILD_NUMBER}, branch ${BRANCH}, tag${tag}"
|
2022-09-17 18:45:43 +03:00
|
|
|
echo 'starting installing'
|
|
|
|
sh 'npm ci'
|
|
|
|
}
|