-
Notifications
You must be signed in to change notification settings - Fork 7
/
Jenkinsfile
53 lines (45 loc) · 1.56 KB
/
Jenkinsfile
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
43
44
45
46
47
48
49
50
51
52
// This shows a simple example of how to archive the build output artifacts.
node('linux') {
stage("Checkout") {
cleanWs()
checkout scm
}
stage("Cleanup") {
sh "make clean"
}
stage("Build images") {
sh "make image"
}
stage("Build docs") {
sh "make docs all"
archiveArtifacts artifacts: 'docs/sphinx-build-html.log, docs/sphinx-build-pdf.log, docs/sphinx-build-epub.log'
recordIssues(tools: [sphinxBuild(name: 'Docs',
pattern: 'docs/sphinx-build-html.log',
reportEncoding: 'UTF-8')])
publishHTML([allowMissing: false,
alwaysLinkToLastBuild: true,
keepAll: false,
reportDir: '',
reportFiles: 'docs/_build/html/index.html',
reportName: 'Doxygen',
reportTitles: ''])
}
stage("Run deltagraph"){
warnError('Error occured, catching exception and continuing to store test results.') {
sh "make run-deltagraph"
}
}
stage("Run deltaruntime"){
warnError('Error occured, catching exception and continuing to store test results.') {
sh "make run-deltasimulator"
}
}
stage("Run emulator"){
warnError('Error occured, catching exception and continuing to store test results.') {
sh "make run-kasli-emulator"
}
}
stage("Clean container") {
sh "make clean-container"
}
}