Hello Jenkins users,

we have a project, where a new submodule has to be integrated, which is checked
out from a different location via SSH.
Our main repository (where the Jenkinsfile is located) is on Bitbucket (onPrem)
and now a repository from AzureDevOps has to be integrated.

How can I achieve, that a different credential is loaded out of the jenkins
credential store for this submodule?
We've the checkbox 'Use credentials from default remote of parent repository'
enabled for 'advanced sub-module behaviours'.

At my research I found solutions like 'reference to submodule via
https://user:p...@dev.azure.com/' but since passwords on Azure need to be 
changed
regularly, a commit to the main repository would be required regularly just to
keep the credentials up to date. :(

I would prefer SSH usage for submodule anyway.

Thanks for every hint.


Dieter

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/jenkinsci-users/trinity-b6868008-7794-42b8-bb34-95870198ecad-1741674940204%40trinity-msg-rest-gmx-gmx-live-58dbb78767-jvsjr.

Reply via email to