diff options
author | Gaurav Khanna (CLR) <gkhanna@microsoft.com> | 2017-01-29 01:31:57 +0300 |
---|---|---|
committer | Gaurav Khanna (CLR) <gkhanna@microsoft.com> | 2017-01-29 01:31:57 +0300 |
commit | 8001e861d90ed02e2e375748d3ee5d1a7dabacc6 (patch) | |
tree | f0694e573589359ff506389730e83e45dd200640 /netci.groovy | |
parent | 1594f9520a292ccba3dda69c11e6572238870b98 (diff) |
Augment the build command for portableLinux build
Diffstat (limited to 'netci.groovy')
-rw-r--r-- | netci.groovy | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/netci.groovy b/netci.groovy index 02905d166f..418b195b70 100644 --- a/netci.groovy +++ b/netci.groovy @@ -317,7 +317,8 @@ def buildArchConfiguration = ['Debug': 'x86', else { // Use Server GC for Ubuntu/OSX Debug PR build & test def useServerGC = (configurationGroup == 'Release' && isPR) ? 'useServerGC' : '' - shell("HOME=\$WORKSPACE/tempHome ./build.sh -${configurationGroup.toLowerCase()} -framework:${targetGroup} -os:${osGroup}") + def portableLinux = (osName == 'PortableLinux') ? '-portableLinux' : '' + shell("HOME=\$WORKSPACE/tempHome ./build.sh -${configurationGroup.toLowerCase()} -framework:${targetGroup} -os:${osGroup} ${portableLinux}") shell("HOME=\$WORKSPACE/tempHome ./build-tests.sh -${configurationGroup.toLowerCase()} -framework:${targetGroup} -os:${osGroup} -- ${useServerGC} /p:WithoutCategories=IgnoreForCI") // Tar up the appropriate bits. shell("tar -czf bin/build.tar.gz --directory=\"bin/runtime/${targetGroup}-${osGroup}-${configurationGroup}-x64\" .") |