peach-killer / workflowtemplate

MIT License
0 stars 0 forks source link

[Jenkins]: #2

Open peach-killer opened 3 weeks ago

peach-killer commented 3 weeks ago

Inputs

Provide the following optional inputs:

Folders: Include specific folders in an audit (delete if not applicable)

Available commands

The following commands can be executed by adding a comment to this issue:

Note: If any options are missing, the command will not be successful.

peach-killer commented 3 weeks ago

/audit

github-actions[bot] commented 3 weeks ago

Something went wrong. Please check the logs for more information.

Logs :point_down: ``` # Logfile created on 2024-10-28 14:35:34 +0000 by logger.rb/v1.6.0 I, [2024-10-28T14:35:34.697087 #1] INFO -- : Using GitHub Features: Defaults I, [2024-10-28T14:35:34.697133 #1] INFO -- : Auditing 'http://47.122.18.209:8888' I, [2024-10-28T14:35:34.703900 #1] INFO -- request: GET http://47.122.18.209:8888/job/_Include%20specific%20folders%20in%20an%20audit%20(delete%20if%20not%20applicable)_/api/json?tree=jobs%5Bname%2Curl%2CfullName%5D I, [2024-10-28T14:35:35.704107 #1] INFO -- response: Status 404 I, [2024-10-28T14:35:35.737046 #1] INFO -- request: GET https://api.github.com/user I, [2024-10-28T14:35:35.837470 #1] INFO -- response: Status 200 I, [2024-10-28T14:35:35.839394 #1] INFO -- : Sending telemetry with transaction id '20cd7092-598f-4026-8abc-a94c00c958e8' E, [2024-10-28T14:35:35.883026 #1] ERROR -- : There was an error retrieving all pipelines from the Jenkins instance Resource not found (GET 404) Not Found: http://47.122.18.209:8888/job/_Include%20specific%20folders%20in%20an%20audit%20(delete%20if%20not%20applicable)_/api/json?tree=jobs%5Bname%2Curl%2CfullName%5D /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/parse_response.rb:14:in `parse!' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/adapters/jenkins/client.rb:31:in `fetch_all_pipelines' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/extract_all_pipelines.rb:77:in `block in pipelines' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/extract_all_pipelines.rb:76:in `map' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/extract_all_pipelines.rb:76:in `pipelines' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/extract_all_pipelines.rb:16:in `call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/adapters/provider_resolver.rb:66:in `call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/commands/audit.rb:16:in `block in call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/logger.rb:96:in `with_progress_bar' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/commands/audit.rb:15:in `call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/subcommands/audit.rb:28:in `jenkins' /usr/local/bundle/gems/thor-1.2.2/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.2/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.2/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.2/lib/thor/invocation.rb:116:in `invoke' /usr/local/bundle/gems/thor-1.2.2/lib/thor.rb:243:in `block in subcommand' /usr/local/bundle/gems/thor-1.2.2/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.2/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.2/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.2/lib/thor/base.rb:485:in `start' /usr/local/bundle/gems/actions_importer-1.3.22255/exe/actions-importer:19:in `' /usr/local/bundle/bin/actions-importer:25:in `load' /usr/local/bundle/bin/actions-importer:25:in `
' ```
peach-killer commented 3 weeks ago

/audit

github-actions[bot] commented 3 weeks ago

Something went wrong. Please check the logs for more information.

Logs :point_down: ``` # Logfile created on 2024-10-28 14:38:22 +0000 by logger.rb/v1.6.0 I, [2024-10-28T14:38:22.086429 #1] INFO -- : Using GitHub Features: Defaults I, [2024-10-28T14:38:22.086481 #1] INFO -- : Auditing 'http://47.122.18.209:8888/' I, [2024-10-28T14:38:22.093736 #1] INFO -- request: GET http://47.122.18.209:8888/job/_Include%20specific%20folders%20in%20an%20audit%20(delete%20if%20not%20applicable)_/api/json?tree=jobs%5Bname%2Curl%2CfullName%5D I, [2024-10-28T14:38:23.001978 #1] INFO -- response: Status 404 I, [2024-10-28T14:38:23.034521 #1] INFO -- request: GET https://api.github.com/user I, [2024-10-28T14:38:23.299597 #1] INFO -- response: Status 200 I, [2024-10-28T14:38:23.304025 #1] INFO -- : Sending telemetry with transaction id 'e417da0d-9611-44e4-a1e6-75318e1fb6f6' E, [2024-10-28T14:38:23.522391 #1] ERROR -- : There was an error retrieving all pipelines from the Jenkins instance Resource not found (GET 404) Not Found: http://47.122.18.209:8888/job/_Include%20specific%20folders%20in%20an%20audit%20(delete%20if%20not%20applicable)_/api/json?tree=jobs%5Bname%2Curl%2CfullName%5D /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/parse_response.rb:14:in `parse!' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/adapters/jenkins/client.rb:31:in `fetch_all_pipelines' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/extract_all_pipelines.rb:77:in `block in pipelines' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/extract_all_pipelines.rb:76:in `map' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/extract_all_pipelines.rb:76:in `pipelines' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/extract_all_pipelines.rb:16:in `call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/adapters/provider_resolver.rb:66:in `call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/commands/audit.rb:16:in `block in call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/logger.rb:96:in `with_progress_bar' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/commands/audit.rb:15:in `call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/subcommands/audit.rb:28:in `jenkins' /usr/local/bundle/gems/thor-1.2.2/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.2/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.2/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.2/lib/thor/invocation.rb:116:in `invoke' /usr/local/bundle/gems/thor-1.2.2/lib/thor.rb:243:in `block in subcommand' /usr/local/bundle/gems/thor-1.2.2/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.2/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.2/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.2/lib/thor/base.rb:485:in `start' /usr/local/bundle/gems/actions_importer-1.3.22255/exe/actions-importer:19:in `' /usr/local/bundle/bin/actions-importer:25:in `load' /usr/local/bundle/bin/actions-importer:25:in `
' ```
peach-killer commented 3 weeks ago

/audit

github-actions[bot] commented 3 weeks ago

Something went wrong. Please check the logs for more information.

Logs :point_down: ``` # Logfile created on 2024-10-30 07:06:28 +0000 by logger.rb/v1.6.0 I, [2024-10-30T07:06:28.087539 #1] INFO -- : Using GitHub Features: Defaults I, [2024-10-30T07:06:28.087584 #1] INFO -- : Auditing 'http://47.122.18.209:8888/' I, [2024-10-30T07:06:28.095223 #1] INFO -- request: GET http://47.122.18.209:8888/job/_Include%20specific%20folders%20in%20an%20audit%20(delete%20if%20not%20applicable)_/api/json?tree=jobs%5Bname%2Curl%2CfullName%5D I, [2024-10-30T07:06:28.974989 #1] INFO -- response: Status 404 I, [2024-10-30T07:06:29.007703 #1] INFO -- request: GET https://api.github.com/user I, [2024-10-30T07:06:29.296023 #1] INFO -- response: Status 200 I, [2024-10-30T07:06:29.299743 #1] INFO -- : Sending telemetry with transaction id '0a1314db-80fa-4ffc-817c-9665b419cff1' E, [2024-10-30T07:06:29.542052 #1] ERROR -- : There was an error retrieving all pipelines from the Jenkins instance Resource not found (GET 404) Not Found: http://47.122.18.209:8888/job/_Include%20specific%20folders%20in%20an%20audit%20(delete%20if%20not%20applicable)_/api/json?tree=jobs%5Bname%2Curl%2CfullName%5D /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/parse_response.rb:14:in `parse!' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/adapters/jenkins/client.rb:31:in `fetch_all_pipelines' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/extract_all_pipelines.rb:77:in `block in pipelines' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/extract_all_pipelines.rb:76:in `map' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/extract_all_pipelines.rb:76:in `pipelines' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/extract_all_pipelines.rb:16:in `call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/adapters/provider_resolver.rb:66:in `call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/commands/audit.rb:16:in `block in call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/logger.rb:96:in `with_progress_bar' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/commands/audit.rb:15:in `call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/subcommands/audit.rb:28:in `jenkins' /usr/local/bundle/gems/thor-1.2.2/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.2/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.2/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.2/lib/thor/invocation.rb:116:in `invoke' /usr/local/bundle/gems/thor-1.2.2/lib/thor.rb:243:in `block in subcommand' /usr/local/bundle/gems/thor-1.2.2/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.2/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.2/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.2/lib/thor/base.rb:485:in `start' /usr/local/bundle/gems/actions_importer-1.3.22255/exe/actions-importer:19:in `' /usr/local/bundle/bin/actions-importer:25:in `load' /usr/local/bundle/bin/actions-importer:25:in `
' ```
peach-killer commented 3 weeks ago

/audit

github-actions[bot] commented 3 weeks ago

Something went wrong. Please check the logs for more information.

Logs :point_down: ``` # Logfile created on 2024-10-30 07:18:30 +0000 by logger.rb/v1.6.0 I, [2024-10-30T07:18:30.734863 #1] INFO -- : Using GitHub Features: Defaults I, [2024-10-30T07:18:30.734915 #1] INFO -- : Auditing 'http://47.122.18.209:8888/' I, [2024-10-30T07:18:30.743203 #1] INFO -- request: GET http://47.122.18.209:8888/job/_Include%20specific%20folders%20in%20an%20audit%20(delete%20if%20not%20applicable)_/api/json?tree=jobs%5Bname%2Curl%2CfullName%5D I, [2024-10-30T07:18:31.745510 #1] INFO -- response: Status 404 I, [2024-10-30T07:18:31.779698 #1] INFO -- request: GET https://api.github.com/user I, [2024-10-30T07:18:31.888084 #1] INFO -- response: Status 200 I, [2024-10-30T07:18:31.889958 #1] INFO -- : Sending telemetry with transaction id '10fe0657-77e5-4a54-8f0b-6d1e6613d789' E, [2024-10-30T07:18:31.945730 #1] ERROR -- : There was an error retrieving all pipelines from the Jenkins instance Resource not found (GET 404) Not Found: http://47.122.18.209:8888/job/_Include%20specific%20folders%20in%20an%20audit%20(delete%20if%20not%20applicable)_/api/json?tree=jobs%5Bname%2Curl%2CfullName%5D /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/parse_response.rb:14:in `parse!' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/adapters/jenkins/client.rb:31:in `fetch_all_pipelines' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/extract_all_pipelines.rb:77:in `block in pipelines' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/extract_all_pipelines.rb:76:in `map' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/extract_all_pipelines.rb:76:in `pipelines' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/extract_all_pipelines.rb:16:in `call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/adapters/provider_resolver.rb:66:in `call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/commands/audit.rb:16:in `block in call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/logger.rb:96:in `with_progress_bar' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/commands/audit.rb:15:in `call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/subcommands/audit.rb:28:in `jenkins' /usr/local/bundle/gems/thor-1.2.2/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.2/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.2/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.2/lib/thor/invocation.rb:116:in `invoke' /usr/local/bundle/gems/thor-1.2.2/lib/thor.rb:243:in `block in subcommand' /usr/local/bundle/gems/thor-1.2.2/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.2/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.2/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.2/lib/thor/base.rb:485:in `start' /usr/local/bundle/gems/actions_importer-1.3.22255/exe/actions-importer:19:in `' /usr/local/bundle/bin/actions-importer:25:in `load' /usr/local/bundle/bin/actions-importer:25:in `
' ```
peach-killer commented 3 weeks ago

/audit

github-actions[bot] commented 3 weeks ago

Something went wrong. Please check the logs for more information.

Logs :point_down: ``` # Logfile created on 2024-10-30 07:20:36 +0000 by logger.rb/v1.6.0 I, [2024-10-30T07:20:36.335747 #1] INFO -- : Using GitHub Features: Defaults I, [2024-10-30T07:20:36.335796 #1] INFO -- : Auditing 'http://192.168.154.130:8888/' I, [2024-10-30T07:20:36.343590 #1] INFO -- request: GET http://192.168.154.130:8888/job/_Include%20specific%20folders%20in%20an%20audit%20(delete%20if%20not%20applicable)_/api/json?tree=jobs%5Bname%2Curl%2CfullName%5D I, [2024-10-30T07:21:36.386054 #1] INFO -- request: GET https://api.github.com/user I, [2024-10-30T07:21:36.509217 #1] INFO -- response: Status 200 I, [2024-10-30T07:21:36.513536 #1] INFO -- : Sending telemetry with transaction id '23e3b9a0-077d-4cd6-a100-ab1de3733488' E, [2024-10-30T07:21:36.578535 #1] ERROR -- : Failed to connect to 'http://192.168.154.130:8888/job/_Include%20specific%20folders%20in%20an%20audit%20(delete%20if%20not%20applicable)_/api/json?tree=jobs%5Bname%2Curl%2CfullName%5D'. Please ensure the server is reachable and your environment variables and options are set correctly. Error: Failed to open TCP connection to 192.168.154.130:8888 (execution expired) /usr/local/lib/ruby/3.3.0/net/http.rb:1603:in `initialize' /usr/local/lib/ruby/3.3.0/net/http.rb:1603:in `open' /usr/local/lib/ruby/3.3.0/net/http.rb:1603:in `block in connect' /usr/local/lib/ruby/3.3.0/timeout.rb:186:in `block in timeout' /usr/local/lib/ruby/3.3.0/timeout.rb:193:in `timeout' /usr/local/lib/ruby/3.3.0/net/http.rb:1601:in `connect' /usr/local/lib/ruby/3.3.0/net/http.rb:1580:in `do_start' /usr/local/lib/ruby/3.3.0/net/http.rb:1569:in `start' /usr/local/bundle/gems/faraday-net_http-3.0.2/lib/faraday/adapter/net_http.rb:112:in `request_with_wrapped_block' /usr/local/bundle/gems/faraday-net_http-3.0.2/lib/faraday/adapter/net_http.rb:102:in `perform_request' /usr/local/bundle/gems/faraday-net_http-3.0.2/lib/faraday/adapter/net_http.rb:66:in `block in call' /usr/local/bundle/gems/faraday-2.7.2/lib/faraday/adapter.rb:45:in `connection' /usr/local/bundle/gems/faraday-net_http-3.0.2/lib/faraday/adapter/net_http.rb:65:in `call' /usr/local/bundle/gems/faraday-2.7.2/lib/faraday/middleware.rb:17:in `call' /usr/local/bundle/gems/faraday-multipart-1.0.4/lib/faraday/multipart/middleware.rb:28:in `call' /usr/local/bundle/gems/faraday-2.7.2/lib/faraday/middleware.rb:17:in `call' /usr/local/bundle/gems/faraday-2.7.2/lib/faraday/response/logger.rb:23:in `call' /usr/local/bundle/gems/faraday-2.7.2/lib/faraday/middleware.rb:17:in `call' /usr/local/bundle/gems/faraday-http-cache-2.5.0/lib/faraday/http_cache.rb:286:in `fetch' /usr/local/bundle/gems/faraday-http-cache-2.5.0/lib/faraday/http_cache.rb:190:in `process' /usr/local/bundle/gems/faraday-http-cache-2.5.0/lib/faraday/http_cache.rb:141:in `call!' /usr/local/bundle/gems/faraday-http-cache-2.5.0/lib/faraday/http_cache.rb:121:in `call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/adapters/faraday/middleware/exception_handling.rb:7:in `call' /usr/local/bundle/gems/faraday-2.7.2/lib/faraday/middleware.rb:17:in `call' /usr/local/bundle/gems/faraday-2.7.2/lib/faraday/middleware.rb:17:in `call' /usr/local/bundle/gems/faraday-2.7.2/lib/faraday/rack_builder.rb:153:in `build_response' /usr/local/bundle/gems/faraday-2.7.2/lib/faraday/connection.rb:445:in `run_request' /usr/local/bundle/gems/faraday-2.7.2/lib/faraday/connection.rb:200:in `get' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/adapters/jenkins/client.rb:29:in `fetch_all_pipelines' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/extract_all_pipelines.rb:77:in `block in pipelines' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/extract_all_pipelines.rb:76:in `map' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/extract_all_pipelines.rb:76:in `pipelines' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/extract_all_pipelines.rb:16:in `call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/adapters/provider_resolver.rb:66:in `call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/commands/audit.rb:16:in `block in call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/logger.rb:96:in `with_progress_bar' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/commands/audit.rb:15:in `call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/subcommands/audit.rb:28:in `jenkins' /usr/local/bundle/gems/thor-1.2.2/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.2/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.2/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.2/lib/thor/invocation.rb:116:in `invoke' /usr/local/bundle/gems/thor-1.2.2/lib/thor.rb:243:in `block in subcommand' /usr/local/bundle/gems/thor-1.2.2/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.2/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.2/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.2/lib/thor/base.rb:485:in `start' /usr/local/bundle/gems/actions_importer-1.3.22255/exe/actions-importer:19:in `' /usr/local/bundle/bin/actions-importer:25:in `load' /usr/local/bundle/bin/actions-importer:25:in `
' ```
peach-killer commented 3 weeks ago

/audit

github-actions[bot] commented 3 weeks ago

Something went wrong. Please check the logs for more information.

Logs :point_down: ``` # Logfile created on 2024-10-30 07:25:12 +0000 by logger.rb/v1.6.0 I, [2024-10-30T07:25:12.458043 #1] INFO -- : Using GitHub Features: Defaults I, [2024-10-30T07:25:12.458089 #1] INFO -- : Auditing 'http://47.122.18.209:8888/job/test/' I, [2024-10-30T07:25:12.464264 #1] INFO -- request: GET http://47.122.18.209:8888/job/test/job/_Include%20specific%20folders%20in%20an%20audit%20(delete%20if%20not%20applicable)_/api/json?tree=jobs%5Bname%2Curl%2CfullName%5D I, [2024-10-30T07:25:13.507082 #1] INFO -- response: Status 404 I, [2024-10-30T07:25:13.539503 #1] INFO -- request: GET https://api.github.com/user I, [2024-10-30T07:25:13.640920 #1] INFO -- response: Status 200 I, [2024-10-30T07:25:13.644738 #1] INFO -- : Sending telemetry with transaction id '0a6957db-8054-4970-996c-337cdc33c24f' E, [2024-10-30T07:25:13.694207 #1] ERROR -- : There was an error retrieving all pipelines from the Jenkins instance Resource not found (GET 404) Not Found: http://47.122.18.209:8888/job/test/job/_Include%20specific%20folders%20in%20an%20audit%20(delete%20if%20not%20applicable)_/api/json?tree=jobs%5Bname%2Curl%2CfullName%5D /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/parse_response.rb:14:in `parse!' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/adapters/jenkins/client.rb:31:in `fetch_all_pipelines' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/extract_all_pipelines.rb:77:in `block in pipelines' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/extract_all_pipelines.rb:76:in `map' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/extract_all_pipelines.rb:76:in `pipelines' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/extract_all_pipelines.rb:16:in `call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/adapters/provider_resolver.rb:66:in `call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/commands/audit.rb:16:in `block in call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/logger.rb:96:in `with_progress_bar' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/commands/audit.rb:15:in `call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/subcommands/audit.rb:28:in `jenkins' /usr/local/bundle/gems/thor-1.2.2/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.2/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.2/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.2/lib/thor/invocation.rb:116:in `invoke' /usr/local/bundle/gems/thor-1.2.2/lib/thor.rb:243:in `block in subcommand' /usr/local/bundle/gems/thor-1.2.2/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.2/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.2/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.2/lib/thor/base.rb:485:in `start' /usr/local/bundle/gems/actions_importer-1.3.22255/exe/actions-importer:19:in `' /usr/local/bundle/bin/actions-importer:25:in `load' /usr/local/bundle/bin/actions-importer:25:in `
' ```
peach-killer commented 3 weeks ago

/dry-run --source-url :http://47.122.18.209:8888/job/test/

github-actions[bot] commented 3 weeks ago

Something went wrong. Please check the logs for more information.

Logs :point_down: ``` # Logfile created on 2024-10-30 07:28:48 +0000 by logger.rb/v1.6.0 I, [2024-10-30T07:28:48.131101 #1] INFO -- : Using GitHub Features: Defaults E, [2024-10-30T07:28:48.131148 #1] ERROR -- : There was an error extracting the Jenkins pipeline (:http://47.122.18.209:8888/job/test/) Message: Unable to parse Jenkins job URL. Ensure it is in the format of https://jenkins.xyz/job/:job_name Jenkins URL provided: :http://47.122.18.209:8888/job/test/ /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/job_url_parser.rb:26:in `rescue in call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/job_url_parser.rb:7:in `call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/extract_pipeline.rb:207:in `pipeline_slug' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/services/jenkins/extract_pipeline.rb:20:in `call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/adapters/provider_resolver.rb:58:in `call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/commands/dry_run.rb:12:in `block in call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/logger.rb:96:in `with_progress_bar' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/commands/dry_run.rb:11:in `call' /usr/local/bundle/gems/actions_importer-1.3.22255/lib/valet/subcommands/dry_run.rb:31:in `jenkins' /usr/local/bundle/gems/thor-1.2.2/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.2/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.2/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.2/lib/thor/invocation.rb:116:in `invoke' /usr/local/bundle/gems/thor-1.2.2/lib/thor.rb:243:in `block in subcommand' /usr/local/bundle/gems/thor-1.2.2/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.2/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.2/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.2/lib/thor/base.rb:485:in `start' /usr/local/bundle/gems/actions_importer-1.3.22255/exe/actions-importer:19:in `' /usr/local/bundle/bin/actions-importer:25:in `load' /usr/local/bundle/bin/actions-importer:25:in `
' I, [2024-10-30T07:28:48.168738 #1] INFO -- request: GET https://api.github.com/user I, [2024-10-30T07:28:48.272231 #1] INFO -- response: Status 200 I, [2024-10-30T07:28:48.275481 #1] INFO -- : Sending telemetry with transaction id '7b337257-6876-4918-a83c-898a23278766' ```
peach-killer commented 3 weeks ago

/dry-run --source-url http://47.122.18.209:8888/job/test/

github-actions[bot] commented 3 weeks ago

Dry run was successful :boom:

Transformed workflows:

peach-killer commented 3 weeks ago

/migrate --source-url http://47.122.18.209:8888/job/test/ --target-url https://github.com/peach-killer/workflowtemplate/

github-actions[bot] commented 3 weeks ago

Migration was successful :sparkles:

Continue to the pull request to complete the migration.