Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
steelhead31 committed Jan 16, 2025
1 parent dd80077 commit 1e9d2be
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion linux_new/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ def JVM = 'hotspot'

// Artifactory Global Variables
def baseURL = "https://github.com/adoptium/"
def ArchiveFileName = ""

// Github Artifact Repos
def binaryRepo = "${params.VERSION.replace('jdk', 'temurin')}-binaries/releases/tag/${params.TAG}"
Expand Down Expand Up @@ -693,7 +694,7 @@ stage('Generate Spec File') {

// Archive & store the generated files, for future reference

def ArchiveFileName = "Package_Bld_Src_${distro}_${params.TAG}_${arch}_${env.BUILD_NUMBER}.tar.gz"
ArchiveFileName = "Package_Bld_Src_${distro}_${params.TAG}_${arch}_${env.BUILD_NUMBER}.tar.gz"
echo "ArchiveFileName = ${ArchiveFileName}"
sh "find ./linux_new -type f \\( -name '*.spec' -o -name 'control' -o -name 'changelog' -o -name 'rules' -o -name 'APKBUILD' \\) | tar -czf ./${ArchiveFileName} -T -"
sh "pwd"
Expand Down Expand Up @@ -909,6 +910,8 @@ stage('Publish Packages') {
post {
success {
echo 'Build succeeded. Triggering downstream job...'
echo "Release : ${params.TAG}"
echo "FileName : ${ArchiveFileName}"
build job: 'sfr-publish-linux-pck', parameters: [
string(name: 'param1', value: 'value1'),
booleanParam(name: 'param2', value: true)
Expand Down

0 comments on commit 1e9d2be

Please sign in to comment.