From 111a3fe0550b2e908aa59c6e8e7718bc48d003a9 Mon Sep 17 00:00:00 2001
From: Boris Baldassari <boris@chrysalice.org>
Date: Fri, 19 Feb 2021 21:04:40 +0100
Subject: [PATCH] #5 Fix deploy to eclipse downloads.

Signed-off-by: Boris Baldassari <boris@chrysalice.org>
---
 JenkinsfileGet | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/JenkinsfileGet b/JenkinsfileGet
index 518a840..9e109d4 100755
--- a/JenkinsfileGet
+++ b/JenkinsfileGet
@@ -66,7 +66,7 @@ pipeline {
       steps {
         sh '''
           rsync -avz website/public/ bbaldassari2kd@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/scava/ --delete
-          if [ $? == 23 ]; then print "some files/attrs were not transferred (see previous errors)"; fi
+          if [ $? -eq 23 ]; then print "some files/attrs were not transferred (see previous errors)"; fi
         ''' 
       }
     }
-- 
GitLab