Revision 5490c2dd68839ac9614d96b34c4311511d3d6308 authored by Marc Garcia Puig on 26 February 2019, 17:18:57 UTC, committed by Marc Garcia Puig on 01 March 2019, 01:36:17 UTC
1 parent c4c8ac8
Jenkinsfile
pipeline {
agent any
environment {
UE4_ROOT = '/var/lib/jenkins/UnrealEngine_4.21'
}
options {
buildDiscarder(logRotator(numToKeepStr: '3', artifactNumToKeepStr: '3'))
}
stages {
stage('Setup') {
steps {
sh 'make setup'
}
}
stage('Build') {
steps {
sh 'make LibCarla'
sh 'make PythonAPI'
sh 'make CarlaUE4Editor'
}
post {
always {
archiveArtifacts 'PythonAPI/dist/*.egg'
}
}
}
stage('Unit Tests') {
steps {
sh 'make check ARGS="--all --xml"'
}
post {
always {
junit 'Build/test-results/*.xml'
archiveArtifacts 'profiler.csv'
}
}
}
stage('Retrieve Content') {
steps {
sh './Update.sh'
}
}
stage('Package') {
steps {
sh 'make package'
sh 'make export-maps ARGS="--map=/Game/Carla/Maps/Town06 --file=Town06"'
}
post {
always {
archiveArtifacts 'Dist/*.tar.gz'
archiveArtifacts 'ExportedMaps/*.tar.gz'
}
}
}
}
post {
always {
deleteDir()
}
}
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...