Skip to content

Commit 399c99f

Browse files
author
Frank Natividad
committed
Updating jenkins.sh to better test gradle specific deployment
1 parent ce0f1e7 commit 399c99f

File tree

1 file changed

+2
-2
lines changed
  • appengine/endpoints-frameworks-v2/migration-example

1 file changed

+2
-2
lines changed

appengine/endpoints-frameworks-v2/migration-example/jenkins.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@ mvn clean
6363

6464
# Test with Gradle
6565
# Modify Greetings.java for Gradle
66-
sed -i'.bak' -e "s/hello version-${GOOGLE_VERSION_ID}!/hello version-${GOOGLE_VERSION_ID}!/g" src/main/java/com/example/helloendpoints/Greetings.java
66+
sed -i'.bak' -e "s/hello version-${GOOGLE_VERSION_ID}!/hello version-gradle-${GOOGLE_VERSION_ID}!/g" src/main/java/com/example/helloendpoints/Greetings.java
6767

6868
# Deploy Gradle
6969
gradle -Pappengine.deploy.promote=false \
7070
-Pappengine.deploy.version="${GOOGLE_VERSION_ID}" \
7171
appengineDeploy
7272

7373
# End-2-End tests
74-
TestEndpoints "${GOOGLE_PROJECT_ID}" "${GOOGLE_VERSION_ID}"
74+
TestEndpoints "${GOOGLE_PROJECT_ID}" "gradle-${GOOGLE_VERSION_ID}"
7575

7676
# Clean
7777
gradle clean

0 commit comments

Comments
 (0)