Skip to content

Commit 1d0be7c

Browse files
committed
Test
1 parent 4d0df17 commit 1d0be7c

1 file changed

Lines changed: 7 additions & 12 deletions

File tree

linux_new/Jenkinsfile

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def CheckAndUpload(String Target, String Distro, String BuildArch, String RelVer
189189
} else {
190190
echo "Target Doesnt Exist - Upload Files"
191191
// This Upload Works
192-
// jf 'rt u ${FILENAME} deb/pool/main/t/temurin-${RELNUM}/ --target-props=${DISTROLIST}deb.component=main;deb.architecture=${BUILDARCH} --flat=true'
192+
jf 'rt u ${FILENAME} deb/pool/main/t/temurin-${RELNUM}/ --target-props=${DISTROLIST}deb.component=main;deb.architecture=${BUILDARCH} --flat=true'
193193
break
194194
}
195195
case "Alpine":
@@ -201,7 +201,7 @@ def CheckAndUpload(String Target, String Distro, String BuildArch, String RelVer
201201
break
202202
} else {
203203
// This Upload Works
204-
// jf 'rt u **/build/ospackage/${FILENAME} apk/alpine/main/${BUILDARCH}/ --flat=true'
204+
jf 'rt u **/build/ospackage/${FILENAME} apk/alpine/main/${BUILDARCH}/ --flat=true'
205205
break
206206
}
207207
case "RPMS":
@@ -212,7 +212,7 @@ def CheckAndUpload(String Target, String Distro, String BuildArch, String RelVer
212212
echo "Target Exists - Skipping"
213213
break
214214
} else {
215-
// jf 'rt u ${FILENAME} ${PACKAGEDIR}/ --flat=true'
215+
jf 'rt u ${FILENAME} ${PACKAGEDIR}/ --flat=true'
216216
break
217217
}
218218
default:
@@ -979,11 +979,7 @@ stage('Publish Packages') {
979979
// Housekeeping Step
980980
post {
981981
always {
982-
echo 'Workspace Content Pre : '
983-
sh 'pwd && ls -lahR . || true'
984982
cleanWs(deleteDirs: true, disableDeferredWipeout: true)
985-
echo 'Workspace Content Post : '
986-
sh 'pwd && ls -lahR . || true'
987983
}
988984
}
989985
// End Housekeeping
@@ -999,11 +995,10 @@ post {
999995
echo "FileName : ${ArchiveFileName}"
1000996

1001997
if (!params.SKIP_SRC) {
1002-
// build job: 'publish_linux_pkg_src', parameters: [
1003-
// string(name: 'TAG', value: params.TAG),
1004-
// string(name: 'FILENAME', value: ArchiveFileName)
1005-
// ]
1006-
echo "Doing Nothing"
998+
build job: 'publish_linux_pkg_src', parameters: [
999+
string(name: 'TAG', value: params.TAG),
1000+
string(name: 'FILENAME', value: ArchiveFileName)
1001+
]
10071002
} else {
10081003
echo 'SKIP_SRC parameter is set, skipping publish.'
10091004
}

0 commit comments

Comments
 (0)