Skip to content

Commit

Permalink
fix jenkins rt command (#719)
Browse files Browse the repository at this point in the history
  • Loading branch information
gdams authored Aug 24, 2023
1 parent e6be6cf commit 25e9347
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cacert-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ jobs:
distroList+="deb.distribution=${debVersion};"
done
FILE=$(ls ca-certificates/debian/build/ospackage/*.deb)
jf rt u "$FILE" "deb/pool/main/a/adoptium-ca-certificates/$(basename ${FILE});deb.architecture=all;deb.component=main;${distroList}"
jf rt u "$FILE" "deb/pool/main/a/adoptium-ca-certificates/$(basename ${FILE});deb.architecture=all;deb.component=main;${distroList}" --flat=true
8 changes: 4 additions & 4 deletions linux/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,8 @@ def uploadArtifacts(String DISTRO, String buildArch) {

def uploadAlpineArtifacts(String buildArch) {
// currently only support x64 as buildArch
jf rt u "**/build/ospackage/temurin-*j*.apk" "apk/alpine/main/${buildArch}/"
jf rt u "**/build/ospackage/temurin-*src*.apk" "apk/alpine/main/${buildArch}/"
jf "rt u '**/build/ospackage/temurin-*j*.apk' 'apk/alpine/main/${buildArch}/' --flat=true"
jf "rt u '**/build/ospackage/temurin-*src*.apk' 'apk/alpine/main/${buildArch}/' --flat=true"
}

def uploadDebArtifacts(String buildArch) {
Expand Down Expand Up @@ -329,7 +329,7 @@ def uploadDebArtifacts(String buildArch) {
*/
sleep 2
} else {
jf rt u "**/build/ospackage/temurin-*${debArchList[buildArch]}.deb" "deb/pool/main/t/temurin-${VERSION}/" --props="${distro_list}deb.component=main;deb.architecture=${debArchList[buildArch]}"
jf "rt u '**/build/ospackage/temurin-*${debArchList[buildArch]}.deb' 'deb/pool/main/t/temurin-${VERSION}/' --props='${distro_list}deb.component=main;deb.architecture=${debArchList[buildArch]}' --flat=true"
break
}
}
Expand Down Expand Up @@ -396,7 +396,7 @@ def uploadRpmArtifacts(String DISTRO, String rpmArch) {
*/
sleep 2
} else {
jf rt u "**/build/ospackage/*.${entry.value}.rpm" "${packageDir}/${entry.key}/Packages/"
jf "rt u '**/build/ospackage/*.${entry.value}.rpm' '${packageDir}/${entry.key}/Packages/' --flat=true"
break
}
}
Expand Down

0 comments on commit 25e9347

Please sign in to comment.