forked from e8tools/tool1cd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile
executable file
·41 lines (27 loc) · 940 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
pipeline {
agent none
stages {
stage('Сборка WIN') {
agent { label 'windows' }
steps {
cleanWs()
checkout scm
script {
bat 'chcp 65001 > nul'
bat '"%CMAKE_EXE%" -DBOOST_ROOT="%BOOST_ROOT%" -DBOOST_LIBRARYDIR="%BOOST_LIBRARYDIR%" -DBOOST_INCLUDEDIR="%BOOST_INCLUDEDIR%" -DZLIB_LIBRARY="%ZLIB_LIBRARY%" -DZLIB_INCLUDE_DIR="%ZLIB_INCLUDE_DIR%" .'
bat '"%CMAKE_EXE%" --build .'
}
}
}
stage('Тестирование WIN') {
agent { label 'windows' }
steps {
checkout scm
script {
bat 'chcp 65001 > nul && call opm test'
junit 'tests.xml'
}
}
}
}
}