-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Jenkins 2.144
branchSources { branchSource { source { github { ... traits { sshCheckoutTrait { credentialsId(CHECKOUT_SSH_CREDENTIALS_ID) } } } } } }
Leads to:
Found multiple extensions which provide method sshCheckoutTrait with arguments [test_seed$_run_closure1$_closure2$_closure3$_closure4$_closure5$_closure6$_closure7@47c1791b]: [[com.cloudbees.jenkins.plugins.bitbucket.SSHCheckoutTrait, org.jenkinsci.plugins.github_branch_source.SSHCheckoutTrait]]
- is related to
-
JENKINS-45860 Support traits for ScmNavigators
-
- Closed
-
- links to
[JENKINS-53912] Unable to use SSHCheckoutTrait
Component/s | New: configuration-as-code-plugin [ 23170 ] |
Description |
Original:
branchSources { branchSource { source { github { ... traits { sshCheckoutTrait { credentialsId(CHECKOUT_SSH_CREDENTIALS_ID) } } } } } } Leads to: Found multiple extensions which provide method sshCheckoutTrait with arguments [test_seed$_run_closure1$_closure2$_closure3$_closure4$_closure5$_closure6$_closure7@47c1791b]: [[com.cloudbees.jenkins.plugins.bitbucket.SSHCheckoutTrait, org.jenkinsci.plugins.github_branch_source.SSHCheckoutTrait]] |
New:
{{branchSources { branchSource { source { github { ... traits { sshCheckoutTrait { credentialsId(CHECKOUT_SSH_CREDENTIALS_ID) } } } } } } }} Leads to: Found multiple extensions which provide method sshCheckoutTrait with arguments [test_seed$_run_closure1$_closure2$_closure3$_closure4$_closure5$_closure6$_closure7@47c1791b]: [[com.cloudbees.jenkins.plugins.bitbucket.SSHCheckoutTrait, org.jenkinsci.plugins.github_branch_source.SSHCheckoutTrait]] |
Description |
Original:
{{branchSources { branchSource { source { github { ... traits { sshCheckoutTrait { credentialsId(CHECKOUT_SSH_CREDENTIALS_ID) } } } } } } }} Leads to: Found multiple extensions which provide method sshCheckoutTrait with arguments [test_seed$_run_closure1$_closure2$_closure3$_closure4$_closure5$_closure6$_closure7@47c1791b]: [[com.cloudbees.jenkins.plugins.bitbucket.SSHCheckoutTrait, org.jenkinsci.plugins.github_branch_source.SSHCheckoutTrait]] |
New:
{code:groovy} branchSources { branchSource { source { github { ... traits { sshCheckoutTrait { credentialsId(CHECKOUT_SSH_CREDENTIALS_ID) } } } } } } {code} Leads to: Found multiple extensions which provide method sshCheckoutTrait with arguments [test_seed$_run_closure1$_closure2$_closure3$_closure4$_closure5$_closure6$_closure7@47c1791b]: [[com.cloudbees.jenkins.plugins.bitbucket.SSHCheckoutTrait, org.jenkinsci.plugins.github_branch_source.SSHCheckoutTrait]] |
Remote Link | New: This issue links to "github-branch-source PR #228 (Web Link)" [ 23119 ] |
Link |
New:
This issue is related to |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Fixed but Unreleased [ 10203 ] |