BuildID: 2254
Status: FAIL
Image:
Worker status: OK
---
Date: 20.12.2022 @ 23:32
Time elapsed: 23 sec
---
SCM:
https://github.com/melezhik/sparrowci-bugzilla.git
Git sha: 1086de9
Git comment: Update sparrow.yaml
secrets:
- BUGZILLA_RESTAPI_KEY
tasks:
-
name: main
default: true
language: Bash
code: |
set -e
cat << HERE > data.json
{
"comment" : "This comment is made by SparrowCI",
"is_private" : false
}
HERE
curl -f -H "Content-Type: application/json" -X POST \
--data @data.json \
https://bugzilla-dev.allizom.org/rest/bug/1632727/comment?api_key=$BUGZILLA_RESTAPI_KEY
echo "comment has been added to https://bugzilla-dev.allizom.org/show_bug.cgi?id=1632727"