Skip to content

Commit

Permalink
Merge pull request #151 from willwh/HOSTING-808
Browse files Browse the repository at this point in the history
Hosting 808
  • Loading branch information
willwh authored Oct 25, 2019
2 parents 033dd6a + 159e51f commit 783fce4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<licenses>
<license>
<name>MIT License</name>
<url>http://opensource.org/licenses/MIT</url>
<url>https://opensource.org/licenses/MIT</url>
</license>
</licenses>

Expand All @@ -68,21 +68,21 @@
<repositories>
<repository>
<id>repo.jenkins-ci.org</id>
<url>http://repo.jenkins-ci.org/public/</url>
<url>https://repo.jenkins-ci.org/public/</url>
</repository>
</repositories>

<pluginRepositories>
<pluginRepository>
<id>repo.jenkins-ci.org</id>
<url>http://repo.jenkins-ci.org/public/</url>
<url>https://repo.jenkins-ci.org/public/</url>
</pluginRepository>
</pluginRepositories>

<distributionManagement>
<repository>
<id>repo.jenkins-ci.org</id>
<url>http://repo.jenkins-ci.org/releases</url>
<url>https://repo.jenkins-ci.org/releases</url>
</repository>
</distributionManagement>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public List<ListItem> getData() {
@Override
public void setUp(SimpleBuildWrapper.Context context, Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars initialEnvironment) throws IOException, InterruptedException {
// PreBuild
final Integer numberOfDays = ((getDescriptor().getNumberOfDays() == null) ? 30
final Integer numberOfDays = ((getDescriptor().getNumberOfDays() == null) ? Integer.valueOf(30)
: getDescriptor().getNumberOfDays());
String passedBuildNumber = build.getEnvironment(listener).expand(buildNumber);
String passedEnvName = build.getEnvironment(listener).expand(nameOfEnv);
Expand Down

0 comments on commit 783fce4

Please sign in to comment.