Commit 852dfeea authored by Ben Cooksley's avatar Ben Cooksley

Disable workspace capture for now.

This slows down all builds, especially those on Windows which unpack everything into the Workspace.
It also costs us quite a bit of bandwidth, for something which isn't used by anyone according to the web server logs
parent 4ba28298
......@@ -109,15 +109,6 @@ timestamps {
}
// The build has been completed now - it either succeeded, is unstable, or failed
// These parts aren't run within a stage as they're purely administrative and their output will be minimal if any exists
// First, do we need to capture a copy of the Workspace? We do this if it was unstable or failed
// This is to allow developers to examine what happened more easily
if( currentBuild.result == 'FAILURE' || currentBuild.result == 'UNSTABLE' ) {
// Capture the workspace
sh "python3 -u ci-tooling/helpers/capture-workspace.py --environment ${ciEnvironment}"
}
// Let's determine if we need to send out notifications
// What happened in our previous build?
def previousResult = currentBuild.previousBuild?.result
......
......@@ -121,15 +121,6 @@ timestamps {
}
// The build has been completed now - it either succeeded, is unstable, or failed
// These parts aren't run within a stage as they're purely administrative and their output will be minimal if any exists
// First, do we need to capture a copy of the Workspace? We do this if it was unstable or failed
// This is to allow developers to examine what happened more easily
if( currentBuild.result == 'FAILURE' || currentBuild.result == 'UNSTABLE' ) {
// Capture the workspace
sh "python3.5 -u ci-tooling/helpers/capture-workspace.py --environment ${ciEnvironment}"
}
// Let's determine if we need to send out notifications
// What happened in our previous build?
def previousResult = currentBuild.previousBuild?.result
......
......@@ -158,15 +158,6 @@ timestamps {
}
// The build has been completed now - it either succeeded, is unstable, or failed
// These parts aren't run within a stage as they're purely administrative and their output will be minimal if any exists
// First, do we need to capture a copy of the Workspace? We do this if it was unstable or failed
// This is to allow developers to examine what happened more easily
if( currentBuild.result == 'FAILURE' || currentBuild.result == 'UNSTABLE' ) {
// Capture the workspace
sh "python3 -u ci-tooling/helpers/capture-workspace.py --environment ${ciEnvironment}"
}
// Let's determine if we need to send out notifications
// What happened in our previous build?
def previousResult = currentBuild.previousBuild?.result
......
......@@ -142,15 +142,6 @@ timestamps {
}
// The build has been completed now - it either succeeded, is unstable, or failed
// These parts aren't run within a stage as they're purely administrative and their output will be minimal if any exists
// First, do we need to capture a copy of the Workspace? We do this if it was unstable or failed
// This is to allow developers to examine what happened more easily
if( currentBuild.result == 'FAILURE' || currentBuild.result == 'UNSTABLE' ) {
// Capture the workspace
sh "python3 -u ci-tooling/helpers/capture-workspace.py --environment ${ciEnvironment}"
}
// Let's determine if we need to send out notifications
// What happened in our previous build?
def previousResult = currentBuild.previousBuild?.result
......
......@@ -129,15 +129,6 @@ timestamps {
}
// The build has been completed now - it either succeeded, is unstable, or failed
// These parts aren't run within a stage as they're purely administrative and their output will be minimal if any exists
// First, do we need to capture a copy of the Workspace? We do this if it was unstable or failed
// This is to allow developers to examine what happened more easily
if( currentBuild.result == 'FAILURE' || currentBuild.result == 'UNSTABLE' ) {
// Capture the workspace
bat "python -u ci-tooling/helpers/capture-workspace.py --environment ${ciEnvironment}"
}
// Let's determine if we need to send out notifications
// What happened in our previous build?
def previousResult = currentBuild.previousBuild?.result
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment