Skip to content

Commit

Permalink
ensure that RealJenkinsRule does not drag in detached dependencies
Browse files Browse the repository at this point in the history
using an incremental from jenkinsci/jenkins-test-harness#780
  • Loading branch information
jtnord committed Jun 5, 2024
1 parent c7ba6a0 commit 1521053
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ THE SOFTWARE.
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jenkins-test-harness</artifactId>
<version>2211.v29b_b_b_2e79c5a_</version>
<version>2215.v5b_28e0b_b_0e1f</version>
<scope>test</scope>
<exclusions>
<exclusion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ public class HudsonPrivateSecurityRealmFIPSTest {

@Rule
public RealJenkinsRule rjr = new RealJenkinsRule().includeTestClasspathPlugins(false)
.javaOptions("-Xmx256M", "-Djenkins.security.FIPS140.COMPLIANCE=true");
.javaOptions("-Xmx256M", "-Djenkins.security.FIPS140.COMPLIANCE=true")
.updateRealJenkinsRuleInitPluginBaseline(true); // prevent detached plugins

@Test
public void generalLogin() throws Throwable {
Expand Down

0 comments on commit 1521053

Please sign in to comment.