Skip to content

Commit

Permalink
Fixing build
Browse files Browse the repository at this point in the history
  • Loading branch information
tesonep committed Nov 22, 2022
1 parent 3f7b3ab commit 5aad2da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,12 @@ def runBuild(platformName, configuration, headless = true, someAdditionalParamet
recordCygwinVersions(buildDirectory)
runInCygwin "cd ${buildDirectory} && cmake -DFLAVOUR=${configuration} ${additionalParameters} -DPHARO_DEPENDENCIES_PREFER_DOWNLOAD_BINARIES=TRUE ../repository -DICEBERG_DEFAULT_REMOTE=httpsUrl"
runInCygwin "cd ${buildDirectory} && VERBOSE=1 make install package"
runInCygwin "mkdir -p artifacts-${platformName} && cp -a ${buildDirectory}/build/packages/ artifacts-${platformName}"
runInCygwin "mkdir -p artifacts-${platformName} && cp -a build/packages/ artifacts-${platformName}"
}else{
cmakeBuild generator: "Unix Makefiles", cmakeArgs: "-DFLAVOUR=${configuration} ${additionalParameters} -DPHARO_DEPENDENCIES_PREFER_DOWNLOAD_BINARIES=TRUE -DICEBERG_DEFAULT_REMOTE=httpsUrl", sourceDir: "repository", buildDir: "${buildDirectory}", installation: "InSearchPath"
dir("${buildDirectory}"){
shell "VERBOSE=1 make install package"
shell "mkdir -p artifacts-${platformName} && cp -a ${buildDirectory}/build/packages/ artifacts-${platformName}"
shell "mkdir -p artifacts-${platformName} && cp -a build/packages/ artifacts-${platformName}"
}
}

Expand Down

0 comments on commit 5aad2da

Please sign in to comment.