Skip to content

Commit

Permalink
disable crumb generation for jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
Onur committed May 12, 2019
1 parent 2aa6b90 commit 79dccd7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/jenkins/tasks/main.yml
Expand Up @@ -49,6 +49,7 @@
until: result.stdout.find("200 OK") != -1
retries: 20
delay: 5
when: false

- name: Create reference job using REST API
shell: "curl -k -s -XPOST {{ cdt_protocol }}://{{ jenkins_service_name }}.{{ base_domain }}/createItem?name=hrweb-java -u alice.developer:{{ openldap_persona_alice_pass }} --data-binary @/tmp/{{ jenkins_service_name }}/hrweb-java.xml -H 'Content-Type:text/xml'"
Expand All @@ -63,6 +64,7 @@
return_content: yes
validate_certs: no
register: crumb
when: false

- name: set key
set_fact:
Expand Down

0 comments on commit 79dccd7

Please sign in to comment.