Files
crystall-punk-14/Jenkinsfile
Pieter-Jan Briers 2d16205091 Jenkins setup. (#13)
* Adding test Jenkinsfile

* Will it be this simple?

* Maybe if I don't typo?

* Nuget restore needed.

* Work around NuGet bug hopefully.

The first person to run NuGet gets to own the /tmp/NuGetScratch folder, so jenkins breaks because I already ran NuGet personally.

* I'm a genius
2017-10-24 00:11:08 +02:00

19 lines
408 B
Groovy

pipeline {
agent any
stages {
stage('Setup') {
steps {
sh './RUN_THIS.py'
sh 'TMP=~/.cache/NuGet/ nuget restore'
}
}
stage('Build') {
steps {
sh './package_release_build.py --platform windows linux'
archiveArtifacts artifacts: 'release/*.zip'
}
}
}
}