1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00

Integration tests workflow event triggering quick fix (#4031)

This commit is contained in:
Alexey Matvievsky 2022-09-20 14:23:31 +04:00 committed by GitHub
parent a6a8f4b142
commit 881d10354f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ jobs:
run: |
curl \
--location \
--request POST 'https://api.github.com/repos/SAP/jenkins-library/statuses/${{ github.sha }}' \
--request POST 'https://api.github.com/repos/SAP/jenkins-library/statuses/${{ github.event.pull_request.head.sha }}' \
-H 'Content-Type: application/json' \
--data '{"state": "pending",
"context": "Go / integration-tests",
@ -158,7 +158,7 @@ jobs:
then
curl \
--location \
--request POST 'https://api.github.com/repos/SAP/jenkins-library/statuses/${{ github.sha }}' \
--request POST 'https://api.github.com/repos/SAP/jenkins-library/statuses/${{ github.event.pull_request.head.sha }}' \
-H 'Content-Type: application/json' \
--data '{"state": "success",
"context": "Go / integration-tests",
@ -168,7 +168,7 @@ jobs:
else
curl \
--location \
--request POST 'https://api.github.com/repos/SAP/jenkins-library/statuses/${{ github.sha }}' \
--request POST 'https://api.github.com/repos/SAP/jenkins-library/statuses/${{ github.event.pull_request.head.sha }}' \
-H 'Content-Type: application/json' \
--data '{"state": "failure",
"context": "Go / integration-tests",