forked from TelluIoT/ThingML
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJenkinsfile
More file actions
26 lines (26 loc) · 756 Bytes
/
Jenkinsfile
File metadata and controls
26 lines (26 loc) · 756 Bytes
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
node {
stage('Downloading changes') { // for display purposes
//git "https://github.com/SINTEF-9012/ThingML.git"
checkout scm
}
stage('Building Compilers') {
// Run the maven build
sh "mvn -Dmaven.test.failure.ignore clean install"
}
stage('Building TestJar') {
sh("cd testJar/ && mvn -Dmaven.test.failure.ignore clean install && cd ..")
}
stage('Testing') {
sh "./testframework/test.py"
}
stage('Publishing HTML Report') {
publishHTML (target: [
allowMissing: false,
alwaysLinkToLastBuild: false,
keepAll: true,
reportDir: 'htmlreports',
reportFiles: 'index.html',
reportName: "Test Execution Report"
])
}
}