-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile
52 lines (43 loc) · 921 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
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
#!groovy
pipeline {
// agent defines where the pipeline will run.
agent {
label "windows"
}
triggers {
cron('H */3 * * *')
}
stages {
stage("Checkout") {
steps {
checkout scm
}
}
stage("Build") {
steps {
bat """
call run_tests.bat
"""
}
}
}
post {
always {
logParser ([
projectRulePath: 'log_parse_rules.txt',
parsingRulesPath: '',
showGraphs: true,
unstableOnWarning: false,
useProjectRule: true,
])
junit "test-reports/**/*.xml"
}
}
// The options directive is for configuration that applies to the whole job.
options {
buildDiscarder(logRotator(numToKeepStr:'20', daysToKeepStr: '28'))
timeout(time: 120, unit: 'MINUTES')
disableConcurrentBuilds()
timestamps()
}
}