Обновить Jenkinsfile

This commit is contained in:
2026-04-08 19:05:26 +03:00
parent 122f263e19
commit b196b2716b

10
Jenkinsfile vendored
View File

@@ -41,6 +41,16 @@ pipeline {
} }
} }
stage('Replace STAND_ID in props') {
steps{
script {
def content = readFile "ncore-properties-template.xml"
def updatedContent = content.replaceAll('STAND_ID', params.STAND_ID)
writeFile file: "ncore-properties-template.xml", text: updatedContent
}
}
}
stage('Make gradlew executable') { stage('Make gradlew executable') {
steps { steps {
sh 'chmod +x ./gradlew' sh 'chmod +x ./gradlew'