Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 19 additions & 14 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>3.55</version>
<version>3.56</version>
</parent>

<artifactId>config-file-provider</artifactId>
Expand Down Expand Up @@ -74,7 +74,7 @@
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>ssh-credentials</artifactId>
<version>1.12</version>
<version>1.13</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
Expand Down Expand Up @@ -193,11 +193,17 @@
<artifactId>maven-plugin</artifactId>
<version>3.1</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.jenkins-ci.main</groupId>
<artifactId>jenkins-test-harness-tools</artifactId>
<version>2.0</version>
<version>2.2</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -218,31 +224,30 @@
<version>1.16</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>annotations</artifactId>
<version>3.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.jenkins</groupId>
<artifactId>configuration-as-code</artifactId>
<version>1.29</version>
<version>1.35</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.jenkins</groupId>
<artifactId>configuration-as-code</artifactId>
<version>1.29</version>
<groupId>io.jenkins.configuration-as-code</groupId>
<artifactId>test-harness</artifactId>
<version>1.35</version>
<scope>test</scope>
<classifier>tests</classifier>
</dependency>
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>3.6</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.9</version>
<scope>test</scope>
</dependency>
<!--<dependency>-->
<!--<groupId>org.jenkins-ci.plugins</groupId>-->
<!--<artifactId>email-ext</artifactId>-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public void envVariableMustBeAvailableInMavenModuleSetBuild() throws Exception {
final MavenModuleSet p = j.createProject(MavenModuleSet.class);

// p.getBuildWrappersList().add(new ConfigFileBuildWrapper(managedFiles))
p.setMaven(ToolInstallations.configureMaven3().getName());
p.setMaven(ToolInstallations.configureMaven35().getName());
p.setScm(new ExtractResourceSCM(getClass().getResource("/maven3-project.zip")));
p.setGoals("initialize"); // -s ${MVN_SETTING}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void serverCredentialsMustBeInSettingsXmlAtRuntime() throws Exception {

final MavenModuleSet p = j.createProject(MavenModuleSet.class);

p.setMaven(ToolInstallations.configureMaven3().getName());
p.setMaven(ToolInstallations.configureMaven35().getName());
p.setScm(new ExtractResourceSCM(getClass().getResource("/maven3-project.zip")));
p.setGoals("initialize");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public void mavenSettingsMustBeFoundInFreestyleProject() throws Exception {

final FreeStyleProject p = jenkins.createFreeStyleProject();

String mvnName = ToolInstallations.configureMaven3().getName();
String mvnName = ToolInstallations.configureMaven35().getName();
Config c1 = createSetting(mavenSettingProvider);
Config c2 = createSetting(globalMavenSettingsConfigProvider);

Expand All @@ -151,7 +151,7 @@ public void notFoundMavenSettingsMustCauseBuildToFail() throws Exception {

final FreeStyleProject p = jenkins.createFreeStyleProject();

String mvnName = ToolInstallations.configureMaven3().getName();
String mvnName = ToolInstallations.configureMaven35().getName();

MvnSettingsProvider s1 = new MvnSettingsProvider("dummyId");
MvnGlobalSettingsProvider s2 = new MvnGlobalSettingsProvider("dummyGlobalId");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public void serverCredentialsMustBeInSettingsXmlAtRuntime() throws Exception {

final MavenModuleSet p = j.createProject(MavenModuleSet.class);

p.setMaven(ToolInstallations.configureMaven3().getName());
p.setMaven(ToolInstallations.configureMaven35().getName());
p.setScm(new ExtractResourceSCM(getClass().getResource("/maven3-project.zip")));
p.setGoals("initialize");

Expand Down