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
This commit is contained in:
committed by
GitHub
parent
c41b867c7f
commit
2d16205091
18
Jenkinsfile
vendored
Normal file
18
Jenkinsfile
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user