cathive / concourse-sonarqube-resource

performs SonarQube analyses and checks quality gates https://concourse-ci.org/ https://sonarqube.org/
Apache License 2.0
46 stars 50 forks source link

Allow branch_name and branch_target to be read from files #52

Closed xsorifc28 closed 4 years ago

xsorifc28 commented 4 years ago

I'm not able to decorate PR since I can't read in the head and base branch from files. Unless there is another method I'm aware of, it would be helpful to allow for this:

branch_name_file: some_output/branch_name
branch_target_file: some_output/branch_target

Currently, concourse gives an error: Could not target requested branch: Target branch 'some_output/head_branch_name' does not exist

headcr4sh commented 4 years ago

Seems like a legit feature request. If you are willing to submit a PR, I'll gladly merge it. :-)