Jenkinsfile: ()()()()()()()()()()()()()()()()

This commit is contained in:
/dev/urandom 2016-09-13 03:04:39 +02:00
parent 7c554962ed
commit 283a747352
No known key found for this signature in database
GPG Key ID: 41322B973E0F295E

8
Jenkinsfile vendored
View File

@ -101,7 +101,7 @@ def doUnitTests(name) {
} }
// First though let's give this build a proper name // First though let's give this build a proper name
stage "Checkout & Versioning" { stage("Checkout & Versioning") {
node("windows") { node("windows") {
checkout scm checkout scm
@ -112,7 +112,7 @@ stage "Checkout & Versioning" {
} }
// For each available configuration generate a normal build and a unit test build. // For each available configuration generate a normal build and a unit test build.
stage "Build" { stage("Build") {
def executions = [:] def executions = [:]
for (int i = 0; i < configurations.size(); i++) for (int i = 0; i < configurations.size(); i++)
{ {
@ -128,7 +128,7 @@ stage "Build" {
} }
// Run unit tests on each configuration. // Run unit tests on each configuration.
stage "Testing" { stage("Testing") {
executions = [:] executions = [:]
for (int i = 0; i < configurations.size(); i++) for (int i = 0; i < configurations.size(); i++)
{ {
@ -141,7 +141,7 @@ stage "Testing" {
} }
// Collect all the binaries and give each configuration its own subfolder // Collect all the binaries and give each configuration its own subfolder
stage "Publishing" { stage("Publishing") {
node("windows") { // any node will do node("windows") { // any node will do
for (int i = 0; i < configurations.size(); i++) for (int i = 0; i < configurations.size(); i++)
{ {