Skip to content

Commit

Permalink
Merge pull request #59 from haidaraM/fixJenkinsLoginPage
Browse files Browse the repository at this point in the history
Try to find only 'Jenkins' in the login page
  • Loading branch information
karlmdavis committed Jun 25, 2018
2 parents 0e3b2ca + 74cb212 commit 8b5d2dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,5 +190,4 @@

- name: Verify Jenkins Web UI Content
action: fail
when: jenkins_ui.content.find('Jenkins ver. 2') == -1

when: "'Jenkins' not in jenkins_ui.content"
3 changes: 1 addition & 2 deletions test/test_basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@

- name: Verify Jenkins Web UI Content
action: fail
when: jenkins_ui.content.find('Jenkins ver. 2') == -1
when: "'Jenkins' not in jenkins_ui.content"

- name: Verify jenkins_script Works with Security
jenkins_script:
Expand All @@ -140,4 +140,3 @@
register: script_test_2
changed_when: false
failed_when: "'Hello World!' not in script_test_2.output"

0 comments on commit 8b5d2dd

Please sign in to comment.