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

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -