Where do we get this API token from On Wednesday, June 17, 2015 at 12:50:28 PM UTC+5:30, Sushant Gupta wrote: > > Hi All, > > I don't know if anyone tried to login to sso enabled jenkins server from > python api. > > I need to automate jenkins, It is very easy to login to jenkins from > python with its local-user/password. But our jenkins server is configured > with assembla sso and I am not able to login through jenkins.jenkins python > module. Can any oen suggest how to login to jenkins server with third party > sso configuration. > python api docs: https://python-jenkins.readthedocs.org/en/latest/api.html > > I am open to use any other module. > > import jenkins > j = jenkins.Jenkins('http://your_url_here', 'username', 'password') > j.get_jobs() > > > Regards, > Sushant >
-- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/2e41317c-832c-460b-9bbd-4220dc850b60o%40googlegroups.com.
