Skip to content

Commit f9267b7

Browse files
authored
Update Kokoro java versions (GoogleCloudPlatform#2059)
* Fix kokoro test versions * trigger tests * fix removal * Fix error
1 parent e9dd9fe commit f9267b7

6 files changed

Lines changed: 7 additions & 5 deletions

File tree

.kokoro/java11/common.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ action {
3232
# Set the JAVA VERSION env var.
3333
env_vars: {
3434
key: "JAVA_VERSION"
35-
value: "11"
35+
value: "1.8,11"
3636
}
3737

3838
# Configure the docker image for kokoro-trampoline.

.kokoro/java8/common.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ action {
3232
# Set the JAVA VERSION env var.
3333
env_vars: {
3434
key: "JAVA_VERSION"
35-
value: "1.8, 11"
35+
value: "1.8"
3636
}
3737

3838
# Configure the docker image for kokoro-trampoline.

.kokoro/tests/run_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ if [[ "$SCRIPT_DEBUG" != "true" ]]; then
7575
fi
7676

7777
# Package local jetty dependency for Java11 samples
78-
if [[ "$JAVA_VERSION" == "11" ]]; then
78+
if [[ ",$JAVA_VERSION," =~ "11" ]]; then
7979
cd appengine-java11/appengine-simple-jetty-main/
8080
mvn install --quiet
8181
cd ../../

appengine-java11/http-server/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
</archive>
3535
</configuration>
3636
</plugin>
37+
3738
<plugin>
3839
<groupId>com.google.cloud.tools</groupId>
3940
<artifactId>appengine-maven-plugin</artifactId>

appengine-java8/analytics/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ To run this sample locally:
2121

2222
## Deploying
2323

24-
$ mvn appengine:deploy
24+
$ mvn clean package appengine:deploy -Dapp.deploy.projectId=<your-project-id>

appengine-java8/analytics/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,9 @@
110110
<plugin>
111111
<groupId>com.google.cloud.tools</groupId>
112112
<artifactId>appengine-maven-plugin</artifactId>
113-
<version>1.3.1</version>
113+
<version>2.2.0</version>
114114
<configuration>
115+
<version>analytics</version>
115116
<deploy.promote>true</deploy.promote>
116117
<deploy.stopPreviousVersion>true</deploy.stopPreviousVersion>
117118
</configuration>

0 commit comments

Comments
 (0)