Add Jenkins pipeline

This commit is contained in:
nsubiron 2018-05-07 17:33:43 +02:00
parent a154d852bf
commit 46dcb1dc14
1 changed files with 34 additions and 0 deletions

34
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,34 @@
pipeline {
agent any
environment {
UE4_ROOT = '/var/lib/jenkins/UnrealEngine_4.18'
}
stages {
stage('Setup') {
steps {
sh './Setup.sh'
}
}
stage('Build') {
steps {
sh './Rebuild.sh --no-editor'
}
}
stage('Package') {
steps {
sh './Package.sh --clean-intermediate'
}
}
}
post {
success {
archiveArtifacts 'Dist/*.tar.gz'
}
}
}