commit | 8df8e90b7b866350a9821bf248035b1e514dbbf8 | [log] [tgz] |
---|---|---|
author | Jeremy Ronquillo <jeremyr@opennetworking.org> | Wed Apr 29 15:16:11 2020 -0700 |
committer | Jeremy Ronquillo <jeremyr@opennetworking.org> | Thu Apr 30 18:26:29 2020 +0000 |
tree | 72cf16df9b53f52d7f3259456f889f8786ab142e | |
parent | 53631bd7ffefb120b1e188768706a76a2a7a8ca9 [diff] |
Check if .fossa.yml exists in OMEC FOSSA Jenkins Jobs Change-Id: Ibd314f0c5f2259843f80b0dc3329cb9eba3b5429
diff --git a/jjb/pipeline/omec-fossa-scan.groovy b/jjb/pipeline/omec-fossa-scan.groovy index c70f3eb..c7a3f3f 100644 --- a/jjb/pipeline/omec-fossa-scan.groovy +++ b/jjb/pipeline/omec-fossa-scan.groovy
@@ -81,6 +81,12 @@ echo "Testing project: ${params.project}" + if [ ! -f ".fossa.yml" ] + then + echo ".fossa.yml not found. This file is mandatory for the test to proceed." + exit 1 + fi + echo "Run 'fossa init'" fossa init --no-ansi --verbose