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

feat(artifacts/bitbucket): added bitbucket artifact support #2674

Merged
merged 2 commits into from Jun 4, 2018
Merged

feat(artifacts/bitbucket): added bitbucket artifact support #2674

merged 2 commits into from Jun 4, 2018

Conversation

ghost
Copy link

@ghost ghost commented May 31, 2018

No description provided.

@ghost
Copy link
Author

ghost commented May 31, 2018

@lwander

String credentials = FileUtils.readFileToString(new File(filename));
return credentials.replace("\n", "");
} catch (IOException e) {
log.error("Could not read Bitbucket credentials file {}", filename);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you add the exception e as a parameter:

  log.error("Could not read Bitbucket credentials file {}", filename, e);

It'll get printed to give the user some sense of what went wrong.

Copy link
Member

@lwander lwander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@ghost
Copy link
Author

ghost commented Jun 4, 2018

fixed this one too

@lwander lwander merged commit bfead55 into spinnaker:master Jun 4, 2018
@ghost ghost deleted the bitbucket-support branch June 4, 2018 19:43
tomaslin pushed a commit to tomaslin/clouddriver that referenced this pull request Jun 5, 2018
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