Skip to content

Commit a288ff4

Browse files
authored
---
yaml --- r: 12023 b: refs/heads/autosynth-datastore c: 53e21eb h: refs/heads/master i: 12021: 8250c29 12019: 1283cdd 12015: 5d1db33
1 parent 878bf4d commit a288ff4

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
@@ -129,7 +129,7 @@ refs/heads/autosynth-bigquerystorage: 99aee05df348f39d98b6fb23c292006f1d2a6c28
129129
refs/heads/autosynth-bigtable: cd831a28dff2ba4d733608b871a1523a463e7380
130130
refs/heads/autosynth-bigtable-admin: 6379a2bc712f2736c83de0e009b4d26da4fa82ca
131131
refs/heads/autosynth-containeranalysis: 781fdb430a60f9a6491f116e31e4e10118157bdb
132-
refs/heads/autosynth-datastore: 0d3bfaa60ed4bbd01c3184f25004bfcce9552b0b
132+
refs/heads/autosynth-datastore: 53e21eb894b7273d908cdaf377596e44b8f77542
133133
refs/heads/autosynth-dialogflow: c6bde02c8a8e063a32f9eaf63b2b9fe5e4895d8a
134134
refs/heads/autosynth-errorreporting: 518a442405c822492ed1c139e89e3e3d1804e29c
135135
refs/heads/autosynth-firestore: 450623a0568a156847a97f05d0ea5aeeeeaca698

branches/autosynth-datastore/.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-datastore/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)