summaryrefslogtreecommitdiff
path: root/buildpipeline/linux-musl.groovy
diff options
context:
space:
mode:
Diffstat (limited to 'buildpipeline/linux-musl.groovy')
-rw-r--r--buildpipeline/linux-musl.groovy24
1 files changed, 24 insertions, 0 deletions
diff --git a/buildpipeline/linux-musl.groovy b/buildpipeline/linux-musl.groovy
new file mode 100644
index 0000000000..d82ae726c0
--- /dev/null
+++ b/buildpipeline/linux-musl.groovy
@@ -0,0 +1,24 @@
+@Library('dotnet-ci') _
+
+// Incoming parameters. Access with "params.<param name>".
+// Note that the parameters will be set as env variables so we cannot use names that conflict
+// with the engineering system parameter names.
+// CGroup - Build configuration.
+// TestOuter - If true, runs outerloop, if false runs just innerloop
+
+simpleDockerNode('microsoft/dotnet-buildtools-prereqs:alpine-3.6-3148f11-20171119021156') {
+ stage ('Checkout source') {
+ checkoutRepo()
+ }
+
+ stage ('Initialize tools') {
+ // Init tools
+ sh './init-tools.sh'
+ }
+ stage ('Sync') {
+ sh "./sync.sh"
+ }
+ stage ('Build Product') {
+ sh "./build.sh -x64 -${params.CGroup} -skiprestore -stripSymbols -portablebuild=false"
+ }
+}