Merge branch 'TIF/Runtime' into TIF/Jenkins
This commit is contained in:
Vendored
+15
-14
@@ -313,13 +313,13 @@ def PreBuildCommonSteps(Map pipelineConfig, String repositoryName, String projec
|
||||
script: 'python/get_python.bat'
|
||||
}
|
||||
|
||||
if(env.CLEAN_OUTPUT_DIRECTORY?.toBoolean() || env.CLEAN_ASSETS?.toBoolean()) {
|
||||
def command = "${pipelineConfig.PYTHON_DIR}/python"
|
||||
if(env.IS_UNIX) command += '.sh'
|
||||
else command += '.cmd'
|
||||
command += " -u ${pipelineConfig.BUILD_ENTRY_POINT} --platform ${platform} --type clean"
|
||||
palSh(command, "Running ${platform} clean")
|
||||
}
|
||||
// Always run the clean step, the scripts detect what variables were set, but it also cleans if
|
||||
// the NODE_LABEL has changed
|
||||
def command = "${pipelineConfig.PYTHON_DIR}/python"
|
||||
if(env.IS_UNIX) command += '.sh'
|
||||
else command += '.cmd'
|
||||
command += " -u ${pipelineConfig.BUILD_ENTRY_POINT} --platform ${platform} --type clean"
|
||||
palSh(command, "Running ${platform} clean")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -366,6 +366,9 @@ def ExportTestResults(Map options, String platform, String type, String workspac
|
||||
dir("${o3deroot}/${params.OUTPUT_DIRECTORY}") {
|
||||
junit testResults: "Testing/**/*.xml"
|
||||
palRmDir("Testing")
|
||||
// Recreate test runner xml directories that need to be pre generated
|
||||
palMkdir("Testing/Pytest")
|
||||
palMkdir("Testing/Gtest")
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -578,14 +581,12 @@ finally {
|
||||
)
|
||||
}
|
||||
node('controller') {
|
||||
emailRecipients = [[$class: 'RequesterRecipientProvider']]
|
||||
if (env.WATCHED_BRANCHES.tokenize(',').contains(branchName)) {
|
||||
emailRecipients.add([$class: 'CulpritsRecipientProvider'])
|
||||
}
|
||||
step([
|
||||
$class: 'Mailer',
|
||||
notifyEveryUnstableBuild: true,
|
||||
recipients: emailextrecipients(emailRecipients)
|
||||
$class: 'Mailer',
|
||||
notifyEveryUnstableBuild: true,
|
||||
recipients: emailextrecipients([
|
||||
[$class: 'RequesterRecipientProvider']
|
||||
])
|
||||
])
|
||||
}
|
||||
} catch(Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user