Skip to content

Commit

Permalink
Merge pull request #32 from febinrejoe/master
Browse files Browse the repository at this point in the history
Handling Sonar UserToken
  • Loading branch information
headcr4sh authored Dec 27, 2018
2 parents 24b63f7 + 47c1a96 commit d7da40e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/in
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ sonar_login=$(jq -r '.source.login // ""' < "${payload}")
sonar_password=$(jq -r '.source.password // ""' < "${payload}")
if [[ ! -z "${sonar_login}" ]] && [[ "${sonar_login}" != "" ]]; then
sonar_token="${sonar_login}"
sonar_token="${sonar_login}:"
if [[ ! -z "${sonar_password}" ]] && [[ "${sonar_password}" != "" ]]; then
sonar_token+=":${sonar_password}"
sonar_token+="${sonar_password}"
fi
fi
Expand Down

0 comments on commit d7da40e

Please sign in to comment.