groovy - Maintain HTTP session in a Jenkins pipeline -




i want use alm rest api inside jenkins pipeline. use api need follow steps :

  1. authentication + sign-in (session cookie created)
  2. get need
  3. sign-out

i need maintain session :

although restful applications ideally stateless, alm platform requires sessions manage locking, client lifetime, , perform other basic tasks.

using http request plugin, i'm not able maintain session.

i have working solution using curl , pipeline step "sh" cleaner, using step plugin/jenkins or groovy/java solution.





wiki

Comments

Popular posts from this blog

elasticsearch - what is the equivalent data type for geo_point in hibernate search? -

firebase - How to wait value in Ionic 2 -

Jenkins: find build number for git commit -