diff --git a/pom.xml b/pom.xml index 02f40245..633d641b 100644 --- a/pom.xml +++ b/pom.xml @@ -400,6 +400,7 @@ org.apache.maven.plugins maven-shade-plugin + 3.5.1 package diff --git a/src/test/java/com/google/jenkins/plugins/computeengine/ComputeEngineCloudTest.java b/src/test/java/com/google/jenkins/plugins/computeengine/ComputeEngineCloudTest.java index a8ea5d17..2b320a66 100644 --- a/src/test/java/com/google/jenkins/plugins/computeengine/ComputeEngineCloudTest.java +++ b/src/test/java/com/google/jenkins/plugins/computeengine/ComputeEngineCloudTest.java @@ -63,8 +63,9 @@ public void construction() throws Exception { assertNotNull(serviceAccountConfig.getAccountId()); // Create a credential final String credentialId = "test-credential-id"; - GoogleRobotPrivateKeyCredentials c = new GoogleRobotPrivateKeyCredentials(CredentialsScope.GLOBAL, credentialId, ACCOUNT_ID, - serviceAccountConfig, null); + GoogleRobotPrivateKeyCredentials c = + new GoogleRobotPrivateKeyCredentials( + CredentialsScope.GLOBAL, credentialId, ACCOUNT_ID, serviceAccountConfig, null); CredentialsStore store = new SystemCredentialsProvider.ProviderImpl().getStore(r.jenkins); assertNotNull(store); store.addCredentials(Domain.global(), c); @@ -73,7 +74,8 @@ public void construction() throws Exception { List ics = new ArrayList<>(); ics.add(instanceConfigurationBuilder().build()); ics.add(instanceConfigurationBuilder().build()); - ComputeEngineCloud cloud = new ComputeEngineCloud(CLOUD_NAME, PROJECT_ID, credentialId, INSTANCE_CAP_STR); + ComputeEngineCloud cloud = + new ComputeEngineCloud(CLOUD_NAME, PROJECT_ID, credentialId, INSTANCE_CAP_STR); cloud.setInstanceId(INSTANCE_ID); cloud.setConfigurations(ics);