Skip to content

Commit

Permalink
Adding fixed path to service account
Browse files Browse the repository at this point in the history
  • Loading branch information
frankyn committed Jul 13, 2017
1 parent 3e82e8b commit 4b810d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion endpoints-frameworks/legacy/backend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@ appengine { // App Engine Tasks configuration
def version = findProperty("appengine.deploy.version")
println "Version ID" + version

def adc = findProperty("appengine.deploy.adc")

extraOptions = ["--application=" + application, "--version=" + version,
'--use_google_application_default_credentials']
'--service_account_json_key_file=' + adc]
}
endpoints {
getClientLibsOnBuild = true
Expand Down
1 change: 1 addition & 0 deletions endpoints-frameworks/legacy/jenkins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ sed -i'.bak' \
gradle backend:appengineUpdate \
-Pappengine.deploy.application=${GOOGLE_PROJECT_ID} \
-Pappengine.deploy.version="${GOOGLE_VERSION_ID}" \
-Pappengine.deploy.adc="${GOOGLE_APPLICATION_CREDENTIALS}" \
--debug

# Generate apk from "app" module
Expand Down

0 comments on commit 4b810d7

Please sign in to comment.