From 2a6d98d7562aabf4c2ae70c705a4d2645809d3bd Mon Sep 17 00:00:00 2001 From: Tanner Lewis Date: Wed, 25 Sep 2024 15:27:56 -0500 Subject: [PATCH] Provide sample output in README Signed-off-by: Tanner Lewis --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/README.md b/README.md index 503cc82..1a21ee7 100644 --- a/README.md +++ b/README.md @@ -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 | |---------------------|----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|