diff --git a/docker/config/plugins.txt b/docker/config/plugins.txt index fe904a9..bd048d6 100644 --- a/docker/config/plugins.txt +++ b/docker/config/plugins.txt @@ -16,4 +16,9 @@ simple-theme-plugin:191.vcd207ef9dd24 login-theme:1.1 blueocean:1.27.13 maven-plugin:3.16 -google-login:109.v022b_cf87b_e5b_ \ No newline at end of file +google-login:109.v022b_cf87b_e5b_ +workflow-cps-global-lib:612.v55f2f80781ef +docker-commons:439.va_3cb_0a_6a_fb_29 +git-server:126.v0d945d8d2b_39 +pipeline-stage-view:2.34 +jira:3.13 \ No newline at end of file diff --git a/node-scripts/spec/pipeline3/scripts.spec.js b/node-scripts/spec/pipeline3/scripts.spec.js index 9a14e0e..7893916 100644 --- a/node-scripts/spec/pipeline3/scripts.spec.js +++ b/node-scripts/spec/pipeline3/scripts.spec.js @@ -430,7 +430,7 @@ describe("Scripts", function() { '\techo "KEY=a/path/on/the/disk" >> .env\n' + "else\n" + "\techo \"'KEY' is found in file '.env'. Updating...\"\n" + - '\tsed -i "s/^[#]*\\s*KEY\\b.*/KEY=a\\/path\\/on\\/the\\/disk/" .env\n' + + '\tsudo sed -i "s/^[#]*\\s*KEY\\b.*/KEY=a\\/path\\/on\\/the\\/disk/" .env\n' + "fi\n" ); }); diff --git a/node-scripts/src/pipeline3/scripts.js b/node-scripts/src/pipeline3/scripts.js index c80fc60..d45be48 100644 --- a/node-scripts/src/pipeline3/scripts.js +++ b/node-scripts/src/pipeline3/scripts.js @@ -711,7 +711,7 @@ module.exports = { // 'sed' will need an escaped string at runtime. Escaping. var valueEscaped = value.replace(/\//g, "\\/"); - script += `\tsed -i "s/^[#]*\\s*${propertyName}\\b.*/${propertyName}=${valueEscaped}/" ${filename}\n`; + script += `\tsudo sed -i "s/^[#]*\\s*${propertyName}\\b.*/${propertyName}=${valueEscaped}/" ${filename}\n`; script += "fi\n"; return script; },