diff --git a/Jenkinsfile b/Jenkinsfile index 31b8973..a4990ce 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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'