Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
steelhead31 committed Oct 9, 2024
1 parent 457f204 commit f66429f
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions linux/sfr.dev/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -201,12 +201,22 @@ pipeline {
def PARCH = ArrayElement[4]
def PVERS = ArrayElement[5]

echo "About To Generate Spec File For"
// Usage: ./generate_spec_file.sh DISTRIBUTION PACKAGE_TYPE VERSION ARCH
def speccmd = "./generate_spec_file.sh ${PDIST} ${PTYPE} ${PVERS} ${PARCH}"
echo "Spec Command : ${speccmd}"
//def Sharesult = sh(script: Shacommand, returnStatus: true)

// Setup List Of Packages To Build
if (PDIST == 'alpine-linux') {
DISTS_TO_BUILD = ['alpine']
} else if (PDIST == 'linux') {
DISTS_TO_BUILD = ['rhel', 'suse', 'debian']
} else {
error("Unsupported dist: ${PDIST}")
}

echo "Dists to build: ${DISTS_TO_BUILD}"
echo "About To Generate Spec File For"
// Usage: ./generate_spec_file.sh DISTRIBUTION PACKAGE_TYPE VERSION ARCH
def speccmd = "./generate_spec_file.sh ${PDIST} ${PTYPE} ${PVERS} ${PARCH}"
echo "Spec Command : ${speccmd}"
//def Sharesult = sh(script: Shacommand, returnStatus: true)

}
}
}
Expand Down

0 comments on commit f66429f

Please sign in to comment.