Skip to content

Commit 690e214

Browse files
Improved getDependency workflow
- getDependencies.pl script run twice.Once with customUrl. If it failed, retry with 3rd party URL. Closes : #6461 Signed-off-by:Amrutha Kanhirathingal <[email protected]>
1 parent 51b7317 commit 690e214

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

buildenv/jenkins/JenkinsfileBase

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,9 @@ def setupParallelEnv() {
219219
}
220220
if (env.BUILD_LIST == 'system') {
221221
env.LIB_DIR = env.SYSTEM_LIB_DIR
222+
sh "perl ./aqa-tests/TKG/scripts/getDependencies.pl -path ${env.LIB_DIR} -task default -customUrl ${customUrl}"
222223
}
223-
sh "perl ./aqa-tests/TKG/scripts/getDependencies.pl -path ${env.LIB_DIR} -task default -customUrl ${customUrl}"
224+
224225
}
225226
} catch (Exception e) {
226227
echo 'Exception: ' + e.toString()
@@ -709,8 +710,8 @@ def buildTest() {
709710
}
710711
if (env.BUILD_LIST == 'system') {
711712
env.LIB_DIR = env.SYSTEM_LIB_DIR
713+
sh "perl ./aqa-tests/TKG/scripts/getDependencies.pl -path ${env.LIB_DIR} -task default -customUrl ${customUrl}"
712714
}
713-
sh "perl ./aqa-tests/TKG/scripts/getDependencies.pl -path ${env.LIB_DIR} -task default -customUrl ${customUrl}"
714715
}
715716
} catch (Exception e) {
716717
echo 'Exception: ' + e.toString()

0 commit comments

Comments
 (0)