diff --git a/integrations/src/test/java/io/jenkins/plugins/casc/CredentialsTest.java b/integrations/src/test/java/io/jenkins/plugins/casc/CredentialsTest.java index 9a2ce88213..34aed3d96d 100644 --- a/integrations/src/test/java/io/jenkins/plugins/casc/CredentialsTest.java +++ b/integrations/src/test/java/io/jenkins/plugins/casc/CredentialsTest.java @@ -37,7 +37,7 @@ public class CredentialsTest { @ConfiguredWithCode("GlobalCredentials.yml") @Test - public void testGlobalScopedCredentials() { + public void testGlobalScopedCredentials() throws Exception { List creds = CredentialsProvider.lookupCredentials( StandardUsernamePasswordCredentials.class, Jenkins.getInstanceOrNull(), null, Collections.emptyList()); assertThat(creds.size(), is(1)); @@ -60,7 +60,7 @@ public void testGlobalScopedCredentials() { @ConfiguredWithCode("CredentialsWithDomain.yml") @Test - public void testDomainScopedCredentials() { + public void testDomainScopedCredentials() throws Exception { List creds = CredentialsProvider.lookupCredentials( StandardUsernamePasswordCredentials.class, Jenkins.getInstanceOrNull(), null, Collections.emptyList()); assertThat(creds.size(), is(1)); @@ -149,7 +149,7 @@ public void testExportSSHCredentials() throws Exception { @Test @Issue("SECURITY-1404") - public void checkUsernamePasswordIsSecret() { + public void checkUsernamePasswordIsSecret() throws Exception { Attribute a = getFromDatabound(UsernamePasswordCredentialsImpl.class, "password"); assertTrue( "Attribute 'password' should be secret", diff --git a/pom.xml b/pom.xml index 068f43dc47..15de908658 100644 --- a/pom.xml +++ b/pom.xml @@ -42,7 +42,7 @@ 2.440.3 configuration-as-code-@{project.version} true - 3387.v0f2773fa_3200 + 3435.v238d66a_043fb_ false