Skip to content

Commit

Permalink
remove condition for nr-credentials.xml (#437)
Browse files Browse the repository at this point in the history
  • Loading branch information
kalaputsik authored Apr 24, 2023
1 parent bd0277d commit a584e23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion context/jenkins/export/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit a584e23

Please sign in to comment.