forked from abhisheksingh-deloitte/ALLURE_REPORT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile
25 lines (20 loc) · 1018 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
pipeline {
agent any
stages {
stage('Robot tests') {
steps {
bat 'robot -d Results --loglevel TRACE --listener allure_robotframework;./allure-results ./Tests'
allure includeProperties: false, jdk: '', results: [[path: '/allure-results']]
}
}
}
post {
success {
mail bcc: '', body: '''Build is successful. congratulation !!
Enjoy your build and have chai :)''', cc: '', from: '', replyTo: '', subject: 'Build Report for multibranch pipeline project', to: '[email protected]'
}
failure {
mail bcc: '', body: '''Build Failed !! :<Relax don\'t panic and have chai :)''', cc: '', from: '', replyTo: '', subject: 'Build Report for multibranch pipeline project', to: '[email protected]'
}
}
}