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

Make this plugin work with the PCT #4

Merged
merged 1 commit into from
Mar 25, 2018
Merged

Conversation

recena
Copy link

@recena recena commented Mar 22, 2018

With these changes this plugin can be used in the PCT.

@reviewbybees

pom.xml Outdated
<developerConnection>scm:git:ssh://git@github.com/jenkinsci/kubernetes-credentials-plugin.git</developerConnection>
<url>https://github.com/jenkinsci/kubernetes-credentials-plugin</url>
<connection>scm:git:git://github.com/jenkinsci/${project.artifactId}-plugin.git</connection>
<developerConnection>scm:git:git://github.com/jenkinsci/${project.artifactId}-plugin.git</developerConnection>
Copy link
Member

Choose a reason for hiding this comment

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

Looks incorrect, git:// is a readonly protocol. Shouldn't it be ssh://git@ instead?

Copy link
Author

Choose a reason for hiding this comment

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

I'm using what we are using in other plugins.

Copy link
Member

Choose a reason for hiding this comment

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

for connection, it's fine, but for developerConnection, it's not. The plugin you reference has git@github.com in developerConnection string which is implicitly ssh.

Copy link
Author

@recena recena Mar 23, 2018

Choose a reason for hiding this comment

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

<scm>
    <connection>scm:git:git://github.com/jenkinsci/${project.artifactId}-plugin.git</connection>
    <developerConnection>scm:git:git@github.com:jenkinsci/${project.artifactId}-plugin.git</developerConnection>
    <url>https://github.com/jenkinsci/${project.artifactId}-plugin</url>
    <tag>HEAD</tag>
</scm>

Copy link
Member

@Vlatombe Vlatombe left a comment

Choose a reason for hiding this comment

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

Lgtm

@maxlaverse maxlaverse merged commit 5b23145 into jenkinsci:master Mar 25, 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.

3 participants