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

[JENKINS-40422] Inferring credentials resolves wrong credential #2

Merged
merged 1 commit into from
Dec 23, 2016

Conversation

raul-arabaolaza
Copy link
Contributor

@raul-arabaolaza raul-arabaolaza commented Dec 18, 2016

JENKINS-40422 Use scanCredentials if available over checkoutCredentials when inferring

When you use a separate set of credentials for checkout and scanning
it makes sense to use the scan credentials to notify, for example it could
be that checkout credentials are of type SSH whilst scan are of type username/
password, or even that due to GH API limits both of them may be adecuate
but you want to use the scan ones

@reviewbybees

@ghost
Copy link

ghost commented Dec 18, 2016

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

@raul-arabaolaza raul-arabaolaza changed the title [JENKINS-40422] [JENKINS-40422] [WIP] Dec 19, 2016
When you use a separate set of credentials for checkout and scanning
it makes sense to use the scan credentials to notify, for example it could
be that checkout credentials are of type SSH whilst scan are of type username/
password
@raul-arabaolaza raul-arabaolaza changed the title [JENKINS-40422] [WIP] [JENKINS-40422] Dec 20, 2016
@raul-arabaolaza raul-arabaolaza changed the title [JENKINS-40422] [JENKINS-40422] Inferring credentials resolves wrong credential Dec 20, 2016
@raul-arabaolaza raul-arabaolaza merged commit 9ddafe8 into master Dec 23, 2016
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

Successfully merging this pull request may close these issues.

1 participant