Skip to content

Commit

Permalink
Merge pull request #368 from sghill-rewrite/modernize/jenkins-2.401.3
Browse files Browse the repository at this point in the history
Modernize to Jenkins 2.401.3
  • Loading branch information
sghill authored Dec 5, 2023
2 parents 0d8d2c3 + 489bea2 commit a9203f8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<revision>1</revision>
<changelist>999999-SNAPSHOT</changelist>
<!-- Baseline Jenkins version you use to build the plugin. Users must have this version or newer to run. -->
<jenkins.version>2.387.3</jenkins.version>
<jenkins.version>2.401.3</jenkins.version>
<hpi.compatibleSinceVersion>1.9</hpi.compatibleSinceVersion>
</properties>
<artifactId>stashNotifier</artifactId>
Expand Down Expand Up @@ -80,8 +80,8 @@
<dependencies>
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.387.x</artifactId>
<version>2516.v113cb_3d00317</version>
<artifactId>bom-2.401.x</artifactId>
<version>2612.v3d6a_2128c0ef</version>
<scope>import</scope>
<type>pom</type>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.inject.Inject;
import jakarta.inject.Inject;
import javax.net.ssl.SSLContext;
import java.io.IOException;
import java.io.PrintStream;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.jenkinsci.plugins.stashNotifier;

import javax.inject.Qualifier;
import jakarta.inject.Qualifier;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.inject.Named;
import javax.inject.Singleton;
import jakarta.inject.Named;
import jakarta.inject.Singleton;
import java.util.List;

@Extension
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ public void test_doFillCredentialsIdItems_has_permission() {
//given
Item project = mock(Item.class);
when(project.hasPermission(Item.CONFIGURE)).thenReturn(true);
when(CredentialsProvider.listCredentials(
when(CredentialsProvider.listCredentialsInItem(
any(),
any(Item.class),
any(Authentication.class),
any(org.springframework.security.core.Authentication.class),
anyList(),
any()
)).thenReturn(new ListBoxModel());
Expand Down

0 comments on commit a9203f8

Please sign in to comment.