Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
steelhead31 committed Jan 9, 2025
1 parent 826c8fe commit 555b521
Showing 1 changed file with 14 additions and 21 deletions.
35 changes: 14 additions & 21 deletions linux_new/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -193,24 +193,17 @@ def CheckAndUpload(String Target, String Distro, String BuildArch, String RelVer
// def Target = "https://adoptium.jfrog.io/artifactory/deb/pool/main/t/temurin-${VERSION}/${FileName}"
// CheckAndUpload(Target, Distro, BUILDARCH, VERSION, DISTROLIST, '', '', '', '' )
echo "Debug 2002 - Debian List"
echo "Filename = ${FILENAME}"
sh "ls -ltr ${FILENAME}"
echo "BuildArch = ${BUILDARCH}"
echo "Version = ${VERSION}"
echo "RelVersion = ${RelVersion}"
echo "DistroList = ${DISTROLIST}"
// echo "Filename = ${FILENAME}"
// sh "ls -ltr ${FILENAME}"
// echo "BuildArch = ${BUILDARCH}"
// echo "Version = ${VERSION}"
// echo "RelVersion = ${RelVersion}"
// echo "DistroList = ${DISTROLIST}"
// sh "find . -path '*/build/ospackage/${FileName}' -exec ls -ltr {} +"
echo "Debian Sample Command:"
echo "jf 'rt u **/build/ospackage/temurin-*${BUILDARCH}.deb sfr-deb-test/pool/main/t/temurin-${VERSION}/ --target-props=${DISTROLIST}deb.component=main;deb.architecture=${BUILDARCH} --flat=true'"
echo "Uploading"
// jf 'rt u **/build/ospackage/'${FILENAME}' sfr-deb-test/pool/main/t/temurin-'${RELNUM}'/ --target-props='${DISTROLIST}'deb.component=main;deb.architecture='${BUILDARCH}' --flat=true'
// 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 'rt u **/build/ospackage/${FILENAME} sfr-deb-test/pool/main/t/temurin-${RELNUM}/ \
// --target-props='${DISTROLIST}deb.component=main;deb.architecture=${BUILDARCH}' --flat=true'
// """
// jf 'rt u **/build/ospackage/temurin-*${BUILDARCH}.deb sfr-deb-test/pool/main/t/temurin-${VERSION}/ --target-props=${DISTROLIST}deb.component=main;deb.architecture=${BUILDARCH} --flat=true'
jf 'rt u ${FILENAME} sfr-deb-test/pool/main/t/temurin-${VERSION}/ --target-props=${DISTROLIST}deb.component=main;deb.architecture=${BUILDARCH} --flat=true'
echo "jf 'rt u ${FILENAME} sfr-deb-test/pool/main/t/temurin-${VERSION}/ --target-props=${DISTROLIST}deb.component=main;deb.architecture=${BUILDARCH} --flat=true'"
// This Upload Works
// jf 'rt u ${FILENAME} sfr-deb-test/pool/main/t/temurin-${VERSION}/ --target-props=${DISTROLIST}deb.component=main;deb.architecture=${BUILDARCH} --flat=true'
break
case "Alpine":
echo "About To Upload Alpine File"
Expand All @@ -226,12 +219,12 @@ def CheckAndUpload(String Target, String Distro, String BuildArch, String RelVer
echo "Debug 2004 - RPM List"
// sh "find . -path '*/build/ospackage/${FileName}' -exec ls -ltr {} +"
// echo "Value = ${Value}"
echo "Filename = ${FileName}"
echo "PackageDir = ${PackageDir}"
echo "Key = ${Key}"
// echo "Filename = ${FileName}"
// echo "PackageDir = ${PackageDir}"
// echo "Key = ${Key}"
echo "RPM Sample Command:"
echo "jf 'rt u ${FileName} ${PackageDir} --flat=true'"
sh "ls -l ${FileName}"
echo "jf 'rt u ${FILENAME} ${PACKAGEDIR} --flat=true'"
// sh "ls -l ${FileName}"
break
default:
echo "Default Case"
Expand Down

0 comments on commit 555b521

Please sign in to comment.