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-39470] Migrate to 2.17 parent POM #1
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,9 +3,9 @@ | |
<parent> | ||
<groupId>org.jenkins-ci.plugins</groupId> | ||
<artifactId>plugin</artifactId> | ||
<!-- TODO switch to 1.532.2 if JENKINS-16936 is backported --> | ||
<version>1.537</version> | ||
<version>2.17</version> | ||
</parent> | ||
|
||
<artifactId>secure-requester-whitelist</artifactId> | ||
<version>1.1-SNAPSHOT</version> | ||
<packaging>hpi</packaging> | ||
|
@@ -18,25 +18,29 @@ | |
<url>http://www.opensource.org/licenses/mit-license.php</url> | ||
</license> | ||
</licenses> | ||
|
||
<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> | ||
</scm> | ||
|
||
<repositories> | ||
<repository> | ||
<id>repo.jenkins-ci.org</id> | ||
<url>http://repo.jenkins-ci.org/public/</url> | ||
</repository> | ||
</repositories> | ||
|
||
<pluginRepositories> | ||
<pluginRepository> | ||
<id>repo.jenkins-ci.org</id> | ||
<url>http://repo.jenkins-ci.org/public/</url> | ||
</pluginRepository> | ||
</pluginRepositories> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is the reason for this deletion?? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See comment above, no longer necessary. |
||
|
||
<properties> | ||
<!-- TODO until bc4c132 in 1.545, or below 1.536 --> | ||
<concurrency>1</concurrency> | ||
<jenkins.version>1.580.1</jenkins.version> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I suppose it's on purpose you didn't stay on the same |
||
<java.level>6</java.level> | ||
</properties> | ||
</project> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ | |
|
||
package org.jenkinsci.plugins.secure_requester_whitelist; | ||
|
||
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; | ||
import hudson.Extension; | ||
import jenkins.model.GlobalConfiguration; | ||
import jenkins.model.GlobalConfigurationCategory; | ||
|
@@ -33,6 +34,7 @@ | |
|
||
@Extension public class Whitelist extends GlobalConfiguration { | ||
|
||
@SuppressFBWarnings("NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As |
||
public static Whitelist get() { | ||
return Jenkins.getInstance().getDescriptorByType(Whitelist.class); | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<?jelly escape-by-default='true'?> | ||
<div> | ||
Allows an administrator to specify sites trusted to make JSONP or primitive-XPath REST API requests. | ||
</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should not change the existing code conventions, if there is no space in the original code do not add it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 please try to stage only functionnally impacted lines (use
git gui
or equivalent then select lines, thenIndex lines
.