Indeed. This is long resolve.
Thanks!
On Sunday, July 30, 2017 at 2:56:47 PM UTC+3, Idan Adar wrote:
>
> Given the following script block in a stage (Declarative pipeline), how
> can I access the repoName variable?
>
> stages {
> stage("...") {
> script {
> for (String repoName: repoList) {
> sshagent (credentials: [
> 'e276113e-0ec9-4eaa-88f9-a7db5c9635b6']) {
> sh """
> git clone -b master git@****.com:****/repoName.git
> cd repoName
> ....
> """
> }
> }
> }
> }
> }
>
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/6f54fe01-dd14-482b-ac72-635533359c09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.