Home Quick start All builds News Donations
More
Log In
Light Theme Docs
Workers

SparrowCI Report - gh-melezhik-sparrowci-bugzilla | [image: NA]

  • Summary
  • Pipeline YAML
  • Report
BuildID: 2251
Status: FAIL
Image:
Worker status: OK
---
Date: 20.12.2022 @ 23:07
Time elapsed: 23 sec
---
SCM: https://github.com/melezhik/sparrowci-bugzilla.git
Git sha: 5b7e4ee
Git comment: Update sparrow.yaml
secrets:
  - BUGZILLA_RESTAPI_KEY
  
tasks:
  - 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"
default task is not found