From a584e23c0b36d1d073bdc21b6bcf526bcf6dc992 Mon Sep 17 00:00:00 2001 From: Artem Stromets Date: Mon, 24 Apr 2023 05:58:22 -0300 Subject: [PATCH] remove condition for nr-credentials.xml (#437) --- context/jenkins/export/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/context/jenkins/export/entrypoint.sh b/context/jenkins/export/entrypoint.sh index 15ebedc06..429c3df95 100644 --- a/context/jenkins/export/entrypoint.sh +++ b/context/jenkins/export/entrypoint.sh @@ -46,7 +46,7 @@ mkdir -p ~/.jenkins/updates rm -rf ~/.jenkins/plugins || echo 'plugins did not exists anyway' mkdir -p ~/.jenkins/plugins test -f ~/.jenkins/jenkins.model.JenkinsLocationConfiguration.xml || envsubst < /opt/jenkins.model.JenkinsLocationConfiguration.xml > ~/.jenkins/jenkins.model.JenkinsLocationConfiguration.xml -test -f ~/.jenkins/nr-credentials.xml || envsubst < /opt/nr-credentials.xml > ~/.jenkins/nr-credentials.xml +envsubst < /opt/nr-credentials.xml > ~/.jenkins/nr-credentials.xml trap 'waitForFinishOfActiveJobs; kill ${pid}; exit 0;' SIGTERM cp -r /usr/share/jenkins/ref/plugins/* /root/.jenkins/plugins/