Skip to content

Commit

Permalink
updated dependencies and require jenkins 2.289.1 and fixed deprecatio…
Browse files Browse the repository at this point in the history
…n warnings (#37)
  • Loading branch information
StefanSpieker authored Aug 1, 2022
1 parent adfb423 commit e6a1efb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.25</version>
<version>4.33</version>
<relativePath />
</parent>

Expand All @@ -20,8 +20,8 @@
<dependencies>
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.222.x</artifactId>
<version>887.vae9c8ac09ff7</version>
<artifactId>bom-2.289.x</artifactId>
<version>1145.va_a_c3b_33935d7</version>
<scope>import</scope>
<type>pom</type>
</dependency>
Expand Down Expand Up @@ -77,7 +77,7 @@
<properties>
<revision>1.9</revision>
<changelist>-SNAPSHOT</changelist>
<jenkins.version>2.222.4</jenkins.version>
<jenkins.version>2.289.1</jenkins.version>
<java.level>8</java.level>
<gitHubRepo>jenkinsci/${project.artifactId}</gitHubRepo>
<findbugs.failOnError>false</findbugs.failOnError>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public void testMakeUserBuildVariablesWithoutUpstream() throws Exception {
// Trigger the first job. It should not trigger anything
FreeStyleBuild upstreamBuild = r.buildAndAssertSuccess(parentProject);
Thread.sleep(20000);
Assert.assertEquals(1, childProject.getBuilds().size());
Assert.assertEquals(1, childProject.getBuilds().toArray().length);

// Register non-existent build as an execution cause
Build<FreeStyleProject, FreeStyleBuild> downstreamBuild = childProject.getLastBuild();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ public Map<String, String> runSamlSecurityRealmTest(JenkinsRule r, String userid
userid,
"password123",
true,
true,
true,
true,
grantedAuthorities);
SamlSecurityRealm realm = EasyMock.mock(SamlSecurityRealm.class);

Expand Down

0 comments on commit e6a1efb

Please sign in to comment.