Comments (4)
Good question. A colleague of mine answered something similar on stack
overflow in which a similar solution can be used :
http://stackoverflow.com/questions/12983110/appengine-java-command-line-deploy-r
efresh-token .
The maven plugin uses oauth2 by default for authentication. So if you do an
appengine:update from your local machine (or any goal, except devserver), you
will generate the '.appcfg_oauth2_tokens_java', if you then copy that to the
home directory of the user running your jenkins job (the jenkins user
commonly), you should be able to get this working for you.
Let me know if this works.
Original comment by [email protected]
on 2 Jan 2013 at 10:03
- Changed state: Done
from appengine-maven-plugin.
This didnt work nicely for me, I had to log in to the machine running jenkins.
I started an update job in the remote machine and my current machine. I was
logged into our jenkins apps account and when i was sent to a link on my local
machine I accepted the app engine notice grabbed the id and then copy pasted
this to my remote machine running jenkins during the same phase of the job on
the remote machine.
This generated an oauth token for my remote machine and allowed my jobs to work
correctly.
I initially tried to copy over the .oauth token from my local machine would
error out on the jenkins job. My thought is some fingerprint on the machine is
used with the id used from the oauth url to generate the oauth token.
Original comment by [email protected]
on 14 Jan 2013 at 7:51
from appengine-maven-plugin.
If this is done. How does it work?
Original comment by [email protected]
on 7 Oct 2014 at 9:54
from appengine-maven-plugin.
How did you get a link on jenkins account? I got nothing in console
Original comment by [email protected]
on 12 Jan 2015 at 9:40
from appengine-maven-plugin.
Related Issues (20)
- Better integration with CircleCI
- Unable to deploy with `--use_google_application_default_credentials` option from Debian Jessie GCE instance. HOT 5
- Doesn't work with appengine 1.9.37 HOT 2
- specifying a custom dockerfile in configuration.dockerfile doesn't work for flex deployment
- provide mojo that starts, stops, clean without executing full lifecycle
- All unit tests fail w/ appengine-api-1.0-sdk-1.9.49.jar HOT 11
- update not working with 1.9.49 HOT 4
- Goal 'endpoints_get_discovery_doc' fails to execute on 1.9.49 HOT 3
- GAE deployment: appengine-maven-plugin:1.9.50:endpoints_get_discovery_doc : Null key for a Map not allowed in JSON
- Spring Boot Deploy HOT 1
- Google App Engine (GAE) - Flexible Environment - Jetty Issue HOT 2
- GCLOUD: ERROR: (gcloud.app.deploy) The requested resource already exists. HOT 1
- -Drun.profiles ignored during mvn appengine:deploy
- Getting 403 error but version is getting deployed with 0% traffic HOT 1
- appengine-maven-plugin vs app-maven-plugin HOT 2
- Allow running tasks without forking lifecycle.
- Unable to update app: Failed to generate quickstart-web.xml. HOT 1
- <version> seems to be required in appengine-web.xml to run locally
- Allow setting a specific port for secondary modules/services
- Project configuration is mandatory
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appengine-maven-plugin.