Skip to content

Commit 3d8235f

Browse files
authored
---
yaml --- r: 12375 b: refs/heads/autosynth-speech c: 53e21eb h: refs/heads/master i: 12373: b51336a 12371: 6b9bad2 12367: eb3cd63
1 parent 60e3688 commit 3d8235f

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
@@ -141,7 +141,7 @@ refs/heads/autosynth-redis: 4c68cb0fbc599124e717ab3f24bd8a8a5d085ca9
141141
refs/heads/autosynth-scheduler: efd0edcd8fc21ccea9b4ffb0e0c4949ee04115aa
142142
refs/heads/autosynth-securitycenter: 80dc94847b954c97a641519177c98dc8e9e9fbe1
143143
refs/heads/autosynth-spanner: 1804eb46dd34a05b47163758d376a7fac49188f1
144-
refs/heads/autosynth-speech: 0d3bfaa60ed4bbd01c3184f25004bfcce9552b0b
144+
refs/heads/autosynth-speech: 53e21eb894b7273d908cdaf377596e44b8f77542
145145
refs/heads/autosynth-tasks: 69be7c7aa2f85dd651c7ec2120d9227096fe11b0
146146
refs/heads/autosynth-texttospeech: 14a1e3455c7b78a9558ab1bb74934b3f7b705f11
147147
refs/heads/autosynth-trace: ce82b40155f6e05d2ed50d78386b16203dbf26d4

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