Skip to content

Commit 9e7764f

Browse files
authored
---
yaml --- r: 12287 b: refs/heads/autosynth-scheduler c: 53e21eb h: refs/heads/master i: 12285: 7fe2fb8 12283: 8a1eff8 12279: c6192b5 12271: cee5777 12255: 6af7374 12223: a0a1881 12159: 362e38c 12031: 07727ff 11775: 2f6c203 11263: ab27cf5 10239: a346623 8191: 8fe6b6e
1 parent b89cdf7 commit 9e7764f

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
@@ -138,7 +138,7 @@ refs/heads/autosynth-kms: dcc6e15d68759010c8735cc868135bd7e6c1cc5f
138138
refs/heads/autosynth-language: 8972866b016473559702424205ce5569de47b34d
139139
refs/heads/autosynth-os-login: daa910328b954bbe87068f684a3088ed910f1ddf
140140
refs/heads/autosynth-redis: 4c68cb0fbc599124e717ab3f24bd8a8a5d085ca9
141-
refs/heads/autosynth-scheduler: 0d3bfaa60ed4bbd01c3184f25004bfcce9552b0b
141+
refs/heads/autosynth-scheduler: 53e21eb894b7273d908cdaf377596e44b8f77542
142142
refs/heads/autosynth-securitycenter: 1b300406bfc0f022d0ae98286c419d54d08d2ad4
143143
refs/heads/autosynth-spanner: 54521ca9d598aa2a8778ee11d153da558a38834e
144144
refs/heads/autosynth-speech: 60c3d2d3d3ad49800884d6ef6eb4be1e09c0c020

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