Обновить Jenkinsfile
This commit is contained in:
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@@ -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') {
|
||||
steps {
|
||||
sh 'chmod +x ./gradlew'
|
||||
|
||||
Reference in New Issue
Block a user