Skip to content

Commit

Permalink
Fix docker compose call.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Aug 10, 2024
1 parent 1d89624 commit cbfa5b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ cp -fv plugin/target/${1}.hpi $JENKINS_HOME/plugins/${1}.jpi

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

0 comments on commit cbfa5b3

Please sign in to comment.