zarplata / concourse-git-bitbucket-pr-resource

:rocket: Concourse CI resource for tracking git branches of Bitbucket pull-requests
MIT License
34 stars 43 forks source link

Fix quotation issue #21

Closed alucillo closed 5 years ago

alucillo commented 5 years ago

This resolves the following error with BitBucket cloud:

jq: error: syntax error, unexpected INVALID_CHARACTER (Unix shell quoting issues?) at <top-level>, line 2:
        | map(select(if .title | test('wip'; 'i') then false else true end))                                      
jq: 1 compile error
helloworlddan commented 5 years ago

I fixed it here: https://github.com/zarplata/concourse-git-bitbucket-pr-resource/pull/23

alucillo commented 5 years ago

Apologies for the delay, I've been out on holiday. I've made the change requested. I tested it in a hijacked container and it seemed to work. Let me know what you think.

idr0id commented 5 years ago

Thanks for fix