Skip to content

Commit

Permalink
Fix deploy step to docker.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Mar 2, 2021
1 parent d0f28db commit 310485e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cp -fv target/plugin-util-api.hpi $JENKINS_HOME/plugins/plugin-util-api.jpi

CURRENT_UID="$(id -u):$(id -g)"
export CURRENT_UID
IS_RUNNING=$(docker-compose ps -q jenkins-master)
IS_RUNNING=$(docker-compose ps -q jenkins-controller)
if [[ "$IS_RUNNING" != "" ]]; then
docker-compose restart
echo "Restarting Jenkins (docker compose with user ID ${CURRENT_UID}) ..."
Expand Down

0 comments on commit 310485e

Please sign in to comment.