Skip to content

Commit

Permalink
Use correct service name for docker compose.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Aug 10, 2024
1 parent 68b5dd9 commit 5d5c364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ cp -fv target/${1}.hpi $JENKINS_HOME/plugins/${1}.jpi

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

0 comments on commit 5d5c364

Please sign in to comment.