blob: 054f3158b987c6a4586bcff6d82160d5925caa7b (
plain)
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
|
def REPO = 'ssh://gerrit1.techsat.local:29418/external/Qt'
stage('Build') {
parallel linux: {
node('bslpv02-centos6-64') {
deleteDir()
checkout([$class: 'GitSCM',
branches: [[name: 'features/newbuild']],
doGenerateSubmoduleConfigurations: false,
extensions: [],
submoduleCfg: [],
userRemoteConfigs: [[url: REPO]]])
sh '''#!/bin/bash
source /opt/centos/devtoolset-1.1/enable
gcc -v
make
'''
archiveArtifacts artifacts: 'qt-*-x86-linux64.zip'
}
},
windows: {
node('bslp05-win10-64') {
deleteDir()
checkout([$class: 'GitSCM',
branches: [[name: 'features/newbuild']],
doGenerateSubmoduleConfigurations: false,
extensions: [],
submoduleCfg: [],
userRemoteConfigs: [[url: REPO]]])
bat '''@echo off
net use K: \\\\dfs2.techsat.net\\dev-tools /yes > NUL 2>&1
set SDKDIR=K:\\WinSDK\\VS2019BT\\
set PERLDIR=K:\\perl\\x86_64-msvc\\
buildqt32.bat
'''
bat '''@echo off
net use K: \\\\dfs2.techsat.net\\dev-tools /yes > NUL 2>&1
set SDKDIR=K:\\WinSDK\\VS2019BT\\
set PERLDIR=K:\\perl\\x86_64-msvc\\
buildqt64.bat
'''
bat '''@echo off
net use K: /delete /yes >NUL 2>&1
'''
archiveArtifacts artifacts: 'qt-*-msvc.zip'
}
}
}
|