-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Emre Dogan
committed
Feb 18, 2025
1 parent
ee0bf88
commit 16b6878
Showing
16 changed files
with
93 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
...ar-workflows-ansible/files/health-check/monaco/usecase-validation/jenkins-connection.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "{{ .name }}", | ||
"url": "{{ .jenkins_url }}", | ||
"username": "{{ .jenkins_username }}", | ||
"password":"{{ .jenkins_password }}" | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,17 +36,17 @@ | |
"description": "Launch a job template in Red Hat Ansible Automation Controller", | ||
"predecessors": [] | ||
}, | ||
"send_fail_email": { | ||
"name": "send_fail_email", | ||
"send_fail_email_awx": { | ||
"name": "send_fail_email_awx", | ||
"input": { | ||
"cc": [], | ||
"to": [ | ||
"[email protected]" | ||
], | ||
"bcc": [], | ||
"taskId": "{{`{{`}} task().id {{`}}`}}", | ||
"content": "Pipeline Failed", | ||
"subject": "Pipeline Failed", | ||
"content": "AWX Job Failed", | ||
"subject": "AWX Job Failed", | ||
"executionId": "{{`{{`}} execution().id {{`}}`}}", | ||
"environmentUrl": "{{`{{`}} environment().url {{`}}`}}" | ||
}, | ||
|
@@ -65,6 +65,52 @@ | |
"predecessors": [ | ||
"launch_awx_job" | ||
] | ||
}, | ||
"trigger_jenkins_build_images": { | ||
"name": "trigger_jenkins_build_images", | ||
"input": { | ||
"jobPath": "/job/demo-ar-workflows-ansible/job/1. Build images", | ||
"connection": "{{ .jenkins_connection_id }}", | ||
"awaitResult": true, | ||
"buildParameters": [] | ||
}, | ||
"action": "dynatrace.jenkins.connector:trigger-build", | ||
"position": { | ||
"x": 1, | ||
"y": 1 | ||
}, | ||
"description": "Triggers a job build and optionally awaits the result", | ||
"predecessors": [] | ||
}, | ||
"send_fail_email_jenkins": { | ||
"name": "send_fail_email_jenkins", | ||
"input": { | ||
"cc": [], | ||
"to": [ | ||
"[email protected]" | ||
], | ||
"bcc": [], | ||
"taskId": "{{`{{`}} task().id {{`}}`}}", | ||
"content": "Jenkins Job Failed", | ||
"subject": "Jenkins Job Failed", | ||
"executionId": "{{`{{`}} execution().id {{`}}`}}", | ||
"environmentUrl": "{{`{{`}} environment().url {{`}}`}}" | ||
}, | ||
"action": "dynatrace.email:send-email", | ||
"position": { | ||
"x": 1, | ||
"y": 2 | ||
}, | ||
"conditions": { | ||
"custom": "{{`{{`}} result(\"trigger_jenkins_build_images\").state != \"SUCCESS\" {{`}}`}}", | ||
"states": { | ||
"launch_awx_job": "OK" | ||
} | ||
}, | ||
"description": "Send email", | ||
"predecessors": [ | ||
"trigger_jenkins_build_images" | ||
] | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.