Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ran into this issue-- when using the sovanyio/concourse-git-bitbucket-pr-resource #57

Open
mshuaiebsabri opened this issue Dec 22, 2021 · 1 comment

Comments

@mshuaiebsabri
Copy link

mshuaiebsabri commented Dec 22, 2021

  • created=1637670734
    ++ curl -sSL -u sXXXXXXXXXX4:NEXXXXXXXXXXXXXXXXX https://api.bitbucket.org/2.0/repositories/aarp_appdev/cq/commit/8cc05016c7b5
  • commit_details='{"data": {"shas": ["8cc05016c7b5"]}, "type": "error", "error": {"message": "Commit not found", "data": {"shas": ["8cc05016c7b5"]}}}'
    ++ echo -E '{"data": {"shas": ["8cc05016c7b5"]}, "type": "error", "error": {"message": "Commit not found", "data": {"shas": ["8cc05016c7b5"]}}}'
    ++ jq -r '.date | sub("(?.*)+-"; "(.time)Z") | fromdate // ""'
    jq: error (at :1): null (null) cannot be matched, as it is not a string
  • date=
@mshuaiebsabri
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant