fix(pipeline): echo errors
All checks were successful
build / build (push) Successful in 42s

This commit is contained in:
Christopher Hase 2025-08-14 10:49:11 +02:00
parent 9002e8dc18
commit 6847cc08a0

View file

@ -37,7 +37,9 @@ jobs:
-
name: Create edgeXR App
run: |
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 -S | jq -r .token)"
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)"
CREATEAPP_JSON=$(cat <<EOF
{
@ -61,4 +63,5 @@ jobs:
EOF
)
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 -S --data "$CREATEAPP_JSON"
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"