-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJenkinsfile
More file actions
42 lines (38 loc) · 1.17 KB
/
Jenkinsfile
File metadata and controls
42 lines (38 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
pipeline {
agent any
stages {
stage('Workspace Cleanup') {
steps {
cleanWs()
}
}
stage('Checkout') {
steps {
checkout scm
}
}
stage('Run Regression (Docker)') {
steps {
script {
docker.image('rdf-openroad-ci').inside('--user root:root --rm') {
withEnv([
'RDF_INSTALL_ROOT=/opt/Robust-Design-Flow',
'PYTHONUNBUFFERED=1',
'XDG_RUNTIME_DIR=/tmp/runtime-root'
]) {
// sh 'git config --global --add safe.directory "$(pwd)"'
// sh 'git submodule update --init --recursive'
sh 'python3 tests/run_regression.py'
}
}
}
}
}
}
post {
always {
junit allowEmptyResults: true, testResults: 'rdf.test/logs/*.xml'
archiveArtifacts artifacts: 'rdf.test/**', allowEmptyArchive: true
}
}
}