Skip to content

Commit 86ae2a5

Browse files
authored
Merge pull request jenkinsci#86 from MarkEWaite/patch-1
Don't perform 'git' step with different repos
2 parents e20288e + cdb07f9 commit 86ae2a5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,9 @@ pipeline {
344344
stage('Example') {
345345
steps {
346346
git url: 'https://github.com/klimas7/exampleA.git'
347-
git url: 'https://github.com/klimas7/exampleB.git'
347+
dir('dir-for-exampleB') {
348+
git url: 'https://github.com/klimas7/exampleB.git'
349+
}
348350
}
349351
}
350352
}

0 commit comments

Comments
 (0)