We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ba0502 commit 5656a41Copy full SHA for 5656a41
jenkins/helper/prepareOskar.ps1
@@ -13,6 +13,16 @@
13
}
14
15
16
+If(-Not($env:IS_JENKINS))
17
+{
18
+ $env:IS_JENKINS = $true
19
+}
20
+
21
+Function clearMachine
22
23
+ python.exe "$OSKARDIR\oskar\jenkins\helper\clear_machine.py"
24
25
26
$HDD = $(Split-Path -Qualifier $env:WORKSPACE)
27
If(-Not(Test-Path -PathType Container -Path "$HDD\$env:NODE_NAME"))
28
{
@@ -67,4 +77,5 @@ If($(Get-Module).Name -contains "oskar")
67
77
68
78
Import-Module "$OSKARDIR\oskar\helper.psm1"
69
79
clearResults
80
+If($env:IS_JENKINS) { clearMachine }
70
81
clearWorkdir
0 commit comments