Skip to content

Commit ab0b1d7

Browse files
authored
---
yaml --- r: 11361 b: refs/heads/autosynth-dlp c: 53e21eb h: refs/heads/master i: 11359: 7854b8a
1 parent 23cd168 commit ab0b1d7

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
@@ -104,7 +104,7 @@ refs/tags/v0.60.0: 4cd518d0612329f8a8e53484eef4cd1651e32855
104104
refs/tags/v0.61.0: e4b526656bb1bf5eefd0ee578b7405147821225e
105105
refs/tags/v0.62.0: bbede7385d48ba08f487bdd29ec10668ace96396
106106
refs/heads/0.60.0-alpha: 10939381ffe0b8da32db4fe3087c86e3aa7f3e55
107-
refs/heads/autosynth-dlp: 0d3bfaa60ed4bbd01c3184f25004bfcce9552b0b
107+
refs/heads/autosynth-dlp: 53e21eb894b7273d908cdaf377596e44b8f77542
108108
refs/heads/autosynth-logging: 16abf36655b4f47c6c337b074156098f09ec5577
109109
refs/heads/dupes: 3478c5d81fd242d0e985656645a679420a2060c2
110110
refs/tags/v0.63.0: 94f19b71d40f46b36120e7b9d78a1a3d41bfcbd6

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