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' } } }