Merge "Revert REUSE license scan to perform default behavior"
diff --git a/jjb/pipeline/omec-reuse-scan.groovy b/jjb/pipeline/omec-reuse-scan.groovy
index ade6f6e..55aa0c4 100644
--- a/jjb/pipeline/omec-reuse-scan.groovy
+++ b/jjb/pipeline/omec-reuse-scan.groovy
@@ -55,19 +55,7 @@
cd $project
git checkout FETCH_HEAD
git show
-
- mkdir ../jenkins-license-scan
- modifiedFiles=$(git diff-tree --no-commit-id --name-only -r HEAD)
- if [ -n "$modifiedFiles" ]
- then
- cp --parents "$modifiedFiles" ../jenkins-license-scan
- cd ../jenkins-license-scan
-
- reuse download --all
- reuse lint
- else
- echo "There were no files to check. Skipping REUSE scan."
- fi
+ reuse lint
'''
}
}