feat(pipeline): log more error infos
All checks were successful
build / build (push) Successful in 21s

This commit is contained in:
Christopher Hase 2025-08-14 10:51:45 +02:00
parent 6847cc08a0
commit ff3dc39cdd

View file

@ -39,7 +39,7 @@ jobs:
run: |
set -e
echo login
EDGEXR_TOKEN="$(curl -X POST https://hub.apps.edge.platform.mg3.mdb.osc.live/api/v1/login -H 'Content-Type: application/json' --data '{"password": "'${EDGEXR_PLATFORM_PASSWORD}'","username": "'${EDGEXR_PLATFORM_USERNAME}'"}' -S | jq -r .token)"
EDGEXR_TOKEN="$(curl -X POST https://hub.apps.edge.platform.mg3.mdb.osc.live/api/v1/login -H 'Content-Type: application/json' --data '{"password": "'${EDGEXR_PLATFORM_PASSWORD}'","username": "'${EDGEXR_PLATFORM_USERNAME}'"}' -sSf | jq -r .token)"
CREATEAPP_JSON=$(cat <<EOF
{
@ -64,4 +64,4 @@ jobs:
)
echo create app
curl -X POST https://hub.apps.edge.platform.mg3.mdb.osc.live/api/v1/auth/ctrl/CreateApp -H 'Content-Type: application/json' -H "Authorization: Bearer $EDGEXR_TOKEN" -S --data "$CREATEAPP_JSON"
curl -X POST https://hub.apps.edge.platform.mg3.mdb.osc.live/api/v1/auth/ctrl/CreateApp -H 'Content-Type: application/json' -H "Authorization: Bearer $EDGEXR_TOKEN" -sSf --data "$CREATEAPP_JSON"