From b196b2716b43de25ce9cdeff6bdd60ccb3100ea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9=20=D0=A2=D0=BE=D0=BB?= =?UTF-8?q?=D1=81=D1=82=D1=8B=D1=85?= Date: Wed, 8 Apr 2026 19:05:26 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20Jenkinsfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 10 ++++++++++ 1 file changed, 10 insertions(+) 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'