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

Issue #254: GithubPlanPR bug fix #282

Merged
merged 3 commits into from
Aug 5, 2020
Merged

Issue #254: GithubPlanPR bug fix #282

merged 3 commits into from
Aug 5, 2020

Conversation

jleopold28
Copy link
Contributor

See #254

@codecov-commenter
Copy link

codecov-commenter commented Aug 4, 2020

Codecov Report

Merging #282 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #282   +/-   ##
=======================================
  Coverage   73.68%   73.68%           
=======================================
  Files          38       38           
  Lines         931      931           
  Branches      229      229           
=======================================
  Hits          686      686           
  Misses        132      132           
  Partials      113      113           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9466ef7...64a6d7b. Read the comment docs.

@kmanning
Copy link
Collaborator

kmanning commented Aug 4, 2020

Can you add a unit tests for this?

There's already a unit test that confirms that we're using the correct protocol. Seems like we need an additional test case that says that if the protocol is git, it overrides it to https. https://github.com/manheim/terraform-pipeline/blob/master/test/GithubPRPlanPlugin.groovy#L165-L175

Looks like overriding the host is already covered by a unit test - https://github.com/manheim/terraform-pipeline/blob/master/test/GithubPRPlanPlugin.groovy#L141-L151

@jleopold28
Copy link
Contributor Author

@kmanning Unit test added

@kmanning kmanning merged commit aedc69a into manheim:master Aug 5, 2020
@kmanning kmanning linked an issue Aug 17, 2020 that may be closed by this pull request
@kmanning kmanning added this to the v5.10 milestone Aug 17, 2020
@jleopold28 jleopold28 deleted the issue_254 branch August 31, 2020 17:06
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.

Auto-convert git/ssh-urls to https with GithubPRPlanPlugin
3 participants