diff --git a/pipeline-templates/dependency-build/WindowsMSVCQt5.9.template b/pipeline-templates/dependency-build/WindowsMSVCQt5.9.template index 3b6ed2b..a91b9da 100644 --- a/pipeline-templates/dependency-build/WindowsMSVCQt5.9.template +++ b/pipeline-templates/dependency-build/WindowsMSVCQt5.9.template @@ -1,57 +1,58 @@ // Request a node to be allocated to us node( currentPlatform ) { // We want Timestamps on everything timestamps { // First Thing: Checkout Sources stage('Checkout Sources') { // Make sure we have a clean slate to begin with deleteDir() // Our CI scripts checkout changelog: false, poll: false, scm: [ $class: 'GitSCM', branches: [[name: 'master']], extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'ci-tooling/']], userRemoteConfigs: [[url: 'https://anongit.kde.org/sysadmin/ci-tooling']] ] // Projects metadata and next generation dependency metadata checkout changelog: false, poll: false, scm: [ $class: 'GitSCM', branches: [[name: 'master']], extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'ci-tooling/repo-metadata/']], userRemoteConfigs: [[url: 'https://anongit.kde.org/sysadmin/repo-metadata']] ] // Dependency Metadata checkout changelog: false, poll: false, scm: [ $class: 'GitSCM', branches: [[name: 'master']], extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'ci-tooling/kde-build-metadata/']], userRemoteConfigs: [[url: 'https://anongit.kde.org/kde-build-metadata']] ] } // Now we can build the dependencies of this product stage('Build Product Dependencies') { // This script will do the following: // 1) Determine what is in this Product // 2) Determine what those repositories depend on // 3) Determine what dependencies are outside of this Product // 4) Sort those dependencies into an appropriate order to build them // 5) Checkout, Configure, Compile, Install and Capture the Installation each of those dependencies in turn // We can't do this as Pipeline steps unfortunately (at least not easily) // Tests and Other Quality Tests won't be run during this process // The results of this process are only intended to be used as part of the base of this Product, so don't need testing bat """ call "C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Auxiliary/Build/vcvars64.bat" set CRAFT_ROOT=C:/CM/MSVCQt5.9/ python -u ci-tooling/helpers/build-product-dependencies.py --product ${productName} --branchGroup ${branchGroup} --environment ${ciEnvironment} --platform ${currentPlatform} --installTo "%WORKSPACE%/install-prefix/" """ } - + // As the Windows Slaves are permanent ones, we erase the Workspace as the last thing we do + deleteDir() } }