groovy - Maintain HTTP session in a Jenkins pipeline -
i want use alm rest api inside jenkins pipeline. use api need follow steps :
- authentication + sign-in (session cookie created)
- get need
- 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
Post a Comment