]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
Fixed online publishing
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Mon, 3 Sep 2018 13:00:58 +0000 (16:00 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Mon, 3 Sep 2018 13:01:30 +0000 (16:01 +0300)
gitlab #28

(cherry picked from commit 3e878398d012f2aeb7ff64c8ead712f99ef1fe26)

releng/JenkinsFiles/Jenkinsfile-sysdyn-simupedia-om

index 8553ed5db3a789b5eb5f4436716ff8de0adb9357..7abb48eacad7e7ff5331cea265ef6249a232a949 100644 (file)
@@ -54,7 +54,7 @@ pipeline {
                     7z a -tzip ${TGT}.zip ${TGT} > /dev/null
                     rm -rf ${PKG}.zip ${TGT}
     
-                    if [ -n "${PUBLISH_PRODUCTS}" ]; then
+                    if [ -n "${PUBLISH_PRODUCT}" ]; then
                         PRODUCT_PUBLISH_DIR=/var/www/http-www.simantics.org/download/${BRANCH}/sysdyn/products
                         echo "Publishing product archives at: ${PRODUCT_PUBLISH_DIR}"
                         mkdir -p ${PRODUCT_PUBLISH_DIR}