Skip to content

Commit

Permalink
Merge pull request #422 from jtnord/fix-build
Browse files Browse the repository at this point in the history
Fix release build
  • Loading branch information
jtnord authored Nov 3, 2023
2 parents 4a7f1b1 + 2695fc9 commit b327fca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.5.1</version>
<executions>
<execution>
<phase>package</phase>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -73,7 +74,8 @@ public void construction() throws Exception {
List<InstanceConfiguration> 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);

Expand Down

0 comments on commit b327fca

Please sign in to comment.