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 d46c7c3 commit eebd7ea
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 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-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 eebd7ea

Please sign in to comment.