diff --git a/linux/Jenkinsfile b/linux/Jenkinsfile index d8bb49556..cc630aa81 100644 --- a/linux/Jenkinsfile +++ b/linux/Jenkinsfile @@ -177,18 +177,18 @@ def CheckAndUpload(String Target, String Distro, String BuildArch, String Versio case "Debian": // Not RISC Use JF CLI if (BuildArch != "riscv64") { - sh "$JF_HOME/jf" 'rt u **/build/ospackage/temurin-*${BUILDARCH}.deb deb/pool/main/t/temurin-${VERSION}/ --target-props=${DISTROLIST}deb.component=main;deb.architecture=${BUILDARCH} --flat=true' + sh "$JF_HOME/jf" rt u **/build/ospackage/temurin-*${BUILDARCH}.deb deb/pool/main/t/temurin-${VERSION}/ --target-props=${DISTROLIST}deb.component=main;deb.architecture=${BUILDARCH} --flat=true } if (BuildArch == "riscv64") { handleRISCVUpload("Debian", "${BUILDARCH}", "${VERSION}", "${DISTROLIST}", "", "", "") } break case "Alpine": - sh "$JF_HOME/jf" 'rt u **/build/ospackage/${FILENAME} apk/alpine/main/${BUILDARCH}/ --flat=true' + sh "$JF_HOME/jf" rt u **/build/ospackage/${FILENAME} apk/alpine/main/${BUILDARCH}/ --flat=true break case "RPMS": if (BuildArch != "riscv64") { - sh "$JF_HOME/jf" 'rt u **/build/ospackage/*.${VALUE}.rpm ${PACKAGEDIR}/${KEY}/Packages/ --flat=true' + sh "$JF_HOME/jf" rt u **/build/ospackage/*.${VALUE}.rpm ${PACKAGEDIR}/${KEY}/Packages/ --flat=true } if (BuildArch == "riscv64") { handleRISCVUpload("RPMS","" ,"", "", "${VALUE}", "${PACKAGEDIR}", "${KEY}" ) @@ -197,7 +197,7 @@ def CheckAndUpload(String Target, String Distro, String BuildArch, String Versio default: echo "Default Case" if (BuildArch != "riscv64") { - sh "$JF_HOME/jf" 'rt u **/build/ospackage/*.${VALUE}.rpm ${PACKAGEDIR}/${KEY}/Packages/ --flat=true' + sh "$JF_HOME/jf" rt u **/build/ospackage/*.${VALUE}.rpm ${PACKAGEDIR}/${KEY}/Packages/ --flat=true } if (BuildArch == "riscv64") { handleRISCVUpload("RPMS","" ,"", "", "${VALUE}", "${PACKAGEDIR}", "${KEY}" ) @@ -228,15 +228,15 @@ def handleRISCVUpload(String Distro, String BuildArch, String Version, String Di switch(Distro) { case "Debian": echo "Debian Upload" - sh "$JF_HOME/jf" 'rt u **/build/ospackage/temurin-*${BUILDARCH}.deb deb/pool/main/t/temurin-${VERSION}/ --target-props=${DISTROLIST}deb.component=main;deb.architecture=${BUILDARCH} --flat=true' + sh "$JF_HOME/jf" rt u **/build/ospackage/temurin-*${BUILDARCH}.deb deb/pool/main/t/temurin-${VERSION}/ --target-props=${DISTROLIST}deb.component=main;deb.architecture=${BUILDARCH} --flat=true break case "RPMS": echo "RPM Upload" - sh "$JF_HOME/jf" 'rt u **/build/ospackage/*.${VALUE}.rpm ${PACKAGEDIR}/${KEY}/Packages/ --flat=true' + sh "$JF_HOME/jf" rt u **/build/ospackage/*.${VALUE}.rpm ${PACKAGEDIR}/${KEY}/Packages/ --flat=true break default: echo "Default Upload" - sh "$JF_HOME/jf" 'rt u **/build/ospackage/*.${VALUE}.rpm ${PACKAGEDIR}/${KEY}/Packages/ --flat=true' + sh "$JF_HOME/jf" rt u **/build/ospackage/*.${VALUE}.rpm ${PACKAGEDIR}/${KEY}/Packages/ --flat=true break } // Remove copied artifacts