Git Product home page Git Product logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 16, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 16, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 16, 2024
If this is done. How does it work?

Original comment by [email protected] on 7 Oct 2014 at 9:54

from appengine-maven-plugin.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 16, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.