commit | 8a24b8fe4e8acfd8cb079aa187b202f27a06c011 | [log] [tgz] |
---|---|---|
author | Hardik Windlass <hardik@opennetworking.org> | Thu Feb 10 14:06:36 2022 +0000 |
committer | Hardik Windlass <hardik@opennetworking.org> | Thu Feb 10 14:06:42 2022 +0000 |
tree | ac6e12b3bfd74543e7db8358695de42634b74060 | |
parent | ace19e5fcae6292c33a95d2058c02b3840f3d4ed [diff] |
[VOL-3820] Fixed kail installation in dmi-build-and-test pipeline Change-Id: I50d52fbc70b53ea1cd91d7394ca487992dcee268
diff --git a/jjb/pipeline/voltha/master/dmi-build-and-test.groovy b/jjb/pipeline/voltha/master/dmi-build-and-test.groovy index aa74c4d..3138e81 100755 --- a/jjb/pipeline/voltha/master/dmi-build-and-test.groovy +++ b/jjb/pipeline/voltha/master/dmi-build-and-test.groovy
@@ -198,6 +198,13 @@ } stage('Start logging') { steps { + // check if kail is installed and if not installs it + sh """ + if ! command -v kail &> /dev/null + then + bash <( curl -sfL https://raw.githubusercontent.com/boz/kail/master/godownloader.sh) -b "$WORKSPACE/bin" + fi + """ sh returnStdout: false, script: ''' # start logging with kail cd $WORKSPACE