File tree Expand file tree Collapse file tree
appengine-java11/http-server
appengine-java8/analytics Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ action {
3232# Set the JAVA VERSION env var.
3333env_vars: {
3434 key: " JAVA_VERSION"
35- value: " 11"
35+ value: " 1.8, 11"
3636}
3737
3838# Configure the docker image for kokoro-trampoline.
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ action {
3232# Set the JAVA VERSION env var.
3333env_vars: {
3434 key: " JAVA_VERSION"
35- value: " 1.8, 11 "
35+ value: " 1.8"
3636}
3737
3838# Configure the docker image for kokoro-trampoline.
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ if [[ "$SCRIPT_DEBUG" != "true" ]]; then
7575fi
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 ../../
Original file line number Diff line number Diff line change 3434 </archive >
3535 </configuration >
3636 </plugin >
37+
3738 <plugin >
3839 <groupId >com.google.cloud.tools</groupId >
3940 <artifactId >appengine-maven-plugin</artifactId >
Original file line number Diff line number Diff 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>
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments