carla/Jenkinsfile

69 lines
1.2 KiB
Groovy

pipeline {
agent any
environment {
UE4_ROOT = '/var/lib/jenkins/UnrealEngine_4.19'
}
options {
buildDiscarder(logRotator(numToKeepStr: '6', artifactNumToKeepStr: '6'))
}
stages {
stage('Setup') {
steps {
sh 'make setup'
}
}
stage('Download Content') {
steps {
sh './Update.sh'
}
}
stage('LibCarla') {
steps {
sh 'make LibCarla'
}
}
stage('PythonAPI') {
steps {
sh 'make PythonAPI'
}
}
stage('Unit Tests') {
steps {
sh 'make check ARGS="--all --xml"'
}
}
stage('CarlaUE4Editor') {
steps {
sh 'make CarlaUE4Editor'
}
}
stage('Package') {
steps {
sh 'make package'
}
}
}
post {
always {
junit 'Build/test-results/*.xml'
archiveArtifacts 'profiler.csv'
archiveArtifacts 'Dist/*.tar.gz'
deleteDir()
}
}
}