https://github.com/carla-simulator/carla
Revision 35327836f576dcbe6d9b578501e97f78d4a6a6cc authored by German Ros on 14 December 2018, 00:18:42 UTC, committed by nsubiron on 19 December 2018, 11:32:41 UTC
1 parent 7f52942
Raw File
Tip revision: 35327836f576dcbe6d9b578501e97f78d4a6a6cc authored by German Ros on 14 December 2018, 00:18:42 UTC
bug-fix: acos in -1,1; queue reloaded with more elements; lateral PID with derivative term to decrease overshooting
Tip revision: 3532783
Jenkinsfile
pipeline {
    agent any

    environment {
        UE4_ROOT = '/var/lib/jenkins/UnrealEngine_4.19'
    }

    options {
        buildDiscarder(logRotator(numToKeepStr: '3', artifactNumToKeepStr: '3'))
    }

    stages {

        stage('Setup') {
            steps {
                sh 'make setup'
                sh './Update.sh'
            }
        }

        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('Package') {
            steps {
                sh 'make package'
            }
            post {
                always {
                    archiveArtifacts 'Dist/*.tar.gz'
                }
            }
        }

    }

    post {
        always {
            deleteDir()
        }
    }
}
back to top