Skip to content

Commit

Permalink
Provide sample output in README
Browse files Browse the repository at this point in the history
Signed-off-by: Tanner Lewis <lewijacn@amazon.com>
  • Loading branch information
lewijacn committed Sep 25, 2024
1 parent 8db1fcc commit 2a6d98d
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,32 @@ jobs:
job_timeout_minutes: '10'
```
## Sample Action Output
```
Executing jenkins webhook trigger for url: https://test.ci.org and job: main-integ-test
2024-09-25 01:57:14,348 [INFO] Using following payload for workflow trigger: {'GIT_REPO_URL': 'https://github.com/test/ci-repo.git', 'GIT_BRANCH': 'main', 'job_name': 'main-integ-test'}
2024-09-25 01:57:14,864 [INFO] Webhook triggered successfully: 200
2024-09-25 01:57:14,864 [INFO] Received response body: {'jobs': {'main-integ-test': {'regexpFilterExpression': '^main-integ-test$', 'triggered': True, 'resolvedVariables': {'GIT_BRANCH': 'main', 'GIT_REPO_URL': 'https://github.com/test/ci-repo.git', 'job_name': 'main-integ-test'}, 'regexpFilterText': 'main-integ-test', 'id': 494, 'url': 'queue/item/494/'}}, 'message': 'Triggered jobs.'}
2024-09-25 01:57:14,864 [INFO] The following pipelines were started: ['main-integ-test']
2024-09-25 01:57:14,865 [INFO] Detected jenkins queue_url: queue/item/494/
2024-09-25 01:57:14,865 [INFO] Waiting for Jenkins to start workflow
2024-09-25 01:57:29,865 [INFO] Using queue information to find build number in Jenkins if available
2024-09-25 01:57:29,933 [INFO] Jenkins workflow_url: https://test.ci.org/job/main-integ-test/233/
2024-09-25 01:57:29,934 [INFO] Waiting for Jenkins to complete the run
2024-09-25 01:57:29,934 [INFO] Still running, wait for another 30 seconds before checking again, max timeout 3600
2024-09-25 01:57:29,934 [INFO] Total time waiting: 30
2024-09-25 01:58:00,169 [INFO] Workflow currently in progress: True
2024-09-25 01:58:00,169 [INFO] Still running, wait for another 30 seconds before checking again, max timeout 3600
2024-09-25 01:58:00,169 [INFO] Total time waiting: 60
...
2024-09-25 02:15:04,985 [INFO] Workflow currently in progress: True
2024-09-25 02:15:04,985 [INFO] Still running, wait for another 30 seconds before checking again, max timeout 3600
2024-09-25 02:15:04,985 [INFO] Total time waiting: 1080
2024-09-25 02:15:35,052 [INFO] Workflow currently in progress: False
2024-09-25 02:15:35,052 [INFO] Run completed, checking results now...
2024-09-25 02:15:35,292 [INFO] Action Result: SUCCESS. Please check jenkins url for logs: https://test.ci.org/job/main-integ-test/233/
```
## Inputs
| Name | Required | Description |
|---------------------|----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
Expand Down

0 comments on commit 2a6d98d

Please sign in to comment.