Commit 466dd4e
Fix Connection Test in Job config when job credential is used from folder (#1865)
* Fix Test Connection in Job when job credential is used from folder
On the connection test from the folder, the GitLabConnection was
initialized with the jobCredentialId, therefore the getClient
assumes the system configured credential is the same as the
job config credential and only looks in the syste creds store.
Fix #1864
Signed-off-by: Michael Musenbrock <michael.musenbrock@gmail.com>
* Use ignore certificate errors from configured connection to test connection
Previously on test connection certificate errors were always ignored. Pass in the settings from the used connection to test.
Applied suggestion from @Copilot.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Signed-off-by: Michael Musenbrock <michael.musenbrock@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent 6d874af commit 466dd4e
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| |||
0 commit comments