tabeyti / jenkins-jack

Jack into your Jenkins to execute Pipeline scripts, provide Pipeline step autocompletions, pull Shared Library step documenation, run console groovy scripts across multiple nodes, and more! Honestly, not that much more.
Other
98 stars 31 forks source link

URI must not be followed by slash "/" #92

Open lukaszbet opened 1 year ago

lukaszbet commented 1 year ago

Jenkins jack can't connect to the server when URI is followed by slash (the case when URI copied from browser address bar). The message from jenkins jack says simply it can't connect to the server. This is quite unintuitive what is really causing. No info in Jenkins Jack log. image "Error running command extension.jenkins-jack.tree.connections.refresh: Cannot read properties of undefined (reading 'connection'). This is likely caused by the extension that contributes extension.jenkins-jack.tree.connections.refresh."

Jenkins Jack v1.2.1 Version: 1.74.2 (system setup) Commit: e8a3071ea4344d9d48ef8a4df2c097372b0c5161 Date: 2022-12-20T10:29:14.590Z Electron: 19.1.8 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: 10.2.154.15-electron.0 OS: Windows_NT x64 10.0.19044 Sandboxed: No

Jenkins Jack Log: [19-01-2023 09:56:38] [jenkinsService] [info] - Using the following URI for Jenkins client: https://URI_ENDING_WITH/ [19-01-2023 09:56:38] [snippets] [info] - refresh - Refreshing Pipeline step auto-completions. [19-01-2023 09:56:38] [extension] [info] - Extension Jenkins Jack now active!