Skip to content

Commit

Permalink
Oct 2024 release linux changelogs
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Leonard <anleonar@redhat.com>
  • Loading branch information
andrew-m-leonard committed Oct 30, 2024
1 parent 5b3afb1 commit f9d2110
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions linux/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}" )
Expand All @@ -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}" )
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f9d2110

Please sign in to comment.