Skip to content

Commit 82d8b08

Browse files
authored
---
yaml --- r: 12139 b: refs/heads/autosynth-iot c: 53e21eb h: refs/heads/master i: 12137: 10874be 12135: f62add3
1 parent edca034 commit 82d8b08

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ refs/heads/autosynth-datastore: af1fb76aa3eee02fe6f31f8fa1c72a4f048d149b
133133
refs/heads/autosynth-dialogflow: ebdd13c445b9674ff9ad4601f78d7ecd6f9c3660
134134
refs/heads/autosynth-errorreporting: 3d0566d6bebcc187f148bbed463b5a8e75b1edf6
135135
refs/heads/autosynth-firestore: 92b27fbc8855c9902168695abb0a8f1f433b750b
136-
refs/heads/autosynth-iot: 0d3bfaa60ed4bbd01c3184f25004bfcce9552b0b
136+
refs/heads/autosynth-iot: 53e21eb894b7273d908cdaf377596e44b8f77542
137137
refs/heads/autosynth-kms: 44920781bf79d494a1835207fc7110b743a1d7d4
138138
refs/heads/autosynth-language: bfdbef24d10a7845cd69f709e7dfb92c965d4d1a
139139
refs/heads/autosynth-os-login: 13200d5c38f1f09e1625c4f2dc1c3b18bfdc5857

branches/autosynth-iot/.kokoro/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ cd github/google-cloud-java/
2121
java -version
2222
echo $JOB_TYPE
2323

24-
mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
24+
mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dgcloud.download.skip=true -B -V
2525

2626
# prepend Kokoro root directory onto GOOGLE_APPLICATION_CREDENTIALS path
2727
if [ ! -z "$GOOGLE_APPLICATION_CREDENTIALS" ]; then

branches/autosynth-iot/google-cloud-testing/google-cloud-gcloud-maven-plugin/src/main/java/com/google/cloud/DownloadComponentsMojo.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,17 @@ public class DownloadComponentsMojo extends AbstractMojo {
7777
@Parameter(defaultValue = "false", required = true, property = "gcloud.download.force")
7878
private boolean forceRefresh;
7979

80+
@Parameter(defaultValue = "false", required = true, property = "gcloud.download.skip")
81+
private boolean shouldSkipDownload;
82+
8083
@Parameter(defaultValue = "${session}", readonly = true)
8184
private MavenSession session;
8285

8386
public void execute() throws MojoExecutionException {
87+
if (shouldSkipDownload) {
88+
return;
89+
}
90+
8491
if (session.isOffline() && forceRefresh) {
8592
throw new MojoExecutionException("Can't force refresh when offline");
8693
}

0 commit comments

Comments
 (0)