We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
- name: Get crumb and session cookie uri: url: "http://<<yourip:port>>/crumbIssuer/api/xml?xpath=concat(//crumbRequestField,%22:%22,//crumb)" method: GET user: "{{ Uname }}" password: "{{ Pass }}" force_basic_auth: yes status_code: 200 return_content: yes register: cookiecrumb - name: Queue build uri: url: http://<<yourip:port>>/job/<<FolderName>>/job/<<JobName>>/build method: POST user: "{{ Uname }}" password: "{{ Pass }}" force_basic_auth: yes status_code: 201 headers: Cookie: "{{ cookiecrumb.cookies_string }}" Jenkins-Crumb: "{{ cookiecrumb.content[14:] }}"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
With Jenkins 2.263.1 (docker image)
(See: https://support.cloudbees.com/hc/en-us/articles/219257077-CSRF-Protection-Explained)
The text was updated successfully, but these errors were encountered: