-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJenkinsfile
26 lines (24 loc) · 852 Bytes
/
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
pipeline {
agent { label "docker-${params.ARCH}" }
options { timestamps() }
stages {
stage('Run test') {
steps {
sh "docker run --rm --network host -v ${env.WORKSPACE}:${env.WORKSPACE} -w ${env.WORKSPACE} -v /var/run/docker.sock:/var/run/docker.sock iotech-services.jfrog.io/robotframework_${params.ARCH}:1.0.0 -d report ."
}
}
stage ('Publish Html Report'){
steps{
echo 'Publish....'
publishHTML(
target: [
allowMissing: false,
keepAll: false,
reportDir: 'report',
reportFiles: 'report.html',
reportName: 'Performance summary collection']
)
}
}
}
}