summaryrefslogtreecommitdiffstats
path: root/jenkins-builds
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-01-02 02:26:59 +0100
committerSven Gothel <[email protected]>2020-01-02 02:26:59 +0100
commite121e8a23b4af0d4ccc76ed4d5751033ee713e0c (patch)
treed90152b7b227c875b8ca09b7f79309c50371e0bb /jenkins-builds
parent809a14676d0576b7d4eb9320f38883b846d602ae (diff)
funcs_promotions.sh: prom_verify_artifacts shall ignore the build.sha.natives
Diffstat (limited to 'jenkins-builds')
-rwxr-xr-xjenkins-builds/funcs_promotion.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/jenkins-builds/funcs_promotion.sh b/jenkins-builds/funcs_promotion.sh
index af1ba57..689ab78 100755
--- a/jenkins-builds/funcs_promotion.sh
+++ b/jenkins-builds/funcs_promotion.sh
@@ -56,9 +56,11 @@ function prom_verify_artifacts() {
shift
local OK=0
- diff -w $artia $artib && OK=1
+ grep -v ".build.sha.natives" $artia > $artia.no-build_sha_natives
+ grep -v ".build.sha.natives" $artib > $artib.no-build_sha_natives
+ diff -w $artia.no-build_sha_natives $artib.no-build_sha_natives_natives && OK=1
if [ $OK -eq 0 ] ; then
- echo "ERROR: $name artifacts differ $artia and $artib"
+ echo "ERROR: $name artifacts differ $artia and $artib no-build_sha_natives"
fi
}