From dd777e419cbeb73084ffb9a424d629b3925df532 Mon Sep 17 00:00:00 2001 From: Kuba Orlik Date: Sat, 3 Sep 2022 17:05:17 +0200 Subject: [PATCH] Fix jenkins ports --- jenkins.prepare.sh | 1 + jenkins.start.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/jenkins.prepare.sh b/jenkins.prepare.sh index a17ce92..1079ac8 100755 --- a/jenkins.prepare.sh +++ b/jenkins.prepare.sh @@ -9,6 +9,7 @@ cp secrets.example.json secrets.json export SEALIOUS_PORT="${PORT}0" SEALIOUS_BASE_URL=$(cat .base_url) export SEALIOUS_BASE_URL +echo "PORT=$PORT" >> .env # Create the npm cache directory if it isn't present yet. If it is not present, it will be created # when the docker image is being built with root:root as the owner. diff --git a/jenkins.start.sh b/jenkins.start.sh index 848316d..dec8583 100755 --- a/jenkins.start.sh +++ b/jenkins.start.sh @@ -21,5 +21,5 @@ docker-compose run --user="$UID" \ echo "App started on $SEALIOUS_PORT" echo "Deployed app to https://${SEALIOUS_PORT}.dep.sealco.de" -echo "Mailcatcher available at https://${PORT}1.dep.sealco.de" -echo "Application logs should be available at https://jenkins.sealcode.org/job/Deploy%20to%20dep.sealco.de/ws v2/$PORT/log.html" +echo "Mailcatcher available at https://${PORT}2.dep.sealco.de" +echo "Application logs should be available at https://jenkins.sealcode.org/job/Deploy%20to%20dep.sealco.de/ws%20v2/$PORT/log.html"