Try to fix workspace logs link for good

This commit is contained in:
Kuba Orlik 2024-04-07 20:46:38 +02:00
parent 627222dd1e
commit 76fa16eb53

View File

@ -4,7 +4,7 @@ SEALIOUS_PORT="${PORT}0"
SEALIOUS_BASE_URL=$(cat .base_url)
export SEALIOUS_BASE_URL
./npm.sh --no-TTY --user="$UID" run build:front
./npm.sh --no-TTY --user="$UID" run build:front
docker-compose up -d mailcatcher
@ -20,6 +20,8 @@ docker-compose run --user="$UID" \
/bin/sh -c "{ node . --color 2>&1; } | ./node_modules/.bin/ansi-html-stream > log.html" &&
echo "App started on $SEALIOUS_PORT"
WORKSPACE_DIRNAME=$(basename "$WORKSPACE" | sed 's/ /%20/g')
echo "Deployed app to https://${SEALIOUS_PORT}.dep.sealco.de"
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%20v2/ws/$PORT/log.html"
echo "Application logs should be available at https://jenkins.sealcode.org/job//ws/$PORT/log.html"