Skip to content

Commit

Permalink
Adding step for ComposedImage VM
Browse files Browse the repository at this point in the history
  • Loading branch information
tesonep committed Nov 14, 2022
1 parent 988964e commit ed03844
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ def recordCygwinVersions(buildDirectory){
archiveArtifacts artifacts: "${buildDirectory}/cygwinVersions.txt"
}

def runBuild(platformName, configuration, headless = true){
def runBuild(platformName, configuration, headless = true, someAdditionalParameters = ""){
cleanWs()

def platform = headless ? platformName : "${platformName}-stockReplacement"
def buildDirectory = headless ? "build" :"build-stockReplacement"
def additionalParameters = ""
def additionalParameters = someAdditionalParameters

additionalParameters += headless ? "" : "-DALWAYS_INTERACTIVE=1 "
additionalParameters += isRelease() ? "-DBUILD_IS_RELEASE=ON " : "-DBUILD_IS_RELEASE=OFF "
Expand Down Expand Up @@ -455,6 +455,9 @@ try{
timeout(30){
runBuild(platform, "StackVM")
}
timeout(30){
runBuild("${platform}-ComposedFormat", "CoInterpreter", true, "-DIMAGE_FORMAT=ComposedFormat")
}
timeout(30){
// Only build the Stock replacement version in the main branch
if(isMainBranch()){
Expand All @@ -463,7 +466,7 @@ try{
}
}
}

tests[platform] = {
node(platform){
timeout(45){
Expand Down

0 comments on commit ed03844

Please sign in to comment.