Skip to content

Commit

Permalink
Testing only
Browse files Browse the repository at this point in the history
Signed-off-by: Sophia Guo <[email protected]>
  • Loading branch information
sophia-guo committed May 7, 2024
1 parent 4b2c276 commit d9cef65
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions buildenv/jenkins/JenkinsfileBase
Original file line number Diff line number Diff line change
Expand Up @@ -1288,7 +1288,7 @@ def generateJob (newJobs, childTest, testJobName) {
if (env.GENERATE_JOBS) {
newJobs[childTest] = {
echo "GENERATE_JOBS is set to true, set test job ${testJobName} params for generating the job"
createJob(testJobName, PLATFORM)
//createJob(testJobName, PLATFORM)
}
} else {
def jobIsRunnable = false
Expand Down Expand Up @@ -1352,11 +1352,13 @@ def triggerRerunJob () {
def buildId = rerunJob.getNumber()
try {
echo "${rerunJobName} #${buildId} completed with status ${jobResult}"
timeout(time: 1, unit: 'HOURS') {
copyArtifacts (projectName: "${rerunJobName}",
selector: specific("${buildId}"),
filter: "**/*.tap",
target:"${rerunJobName}/${buildId}")
node (env.SETUP_LABEL) {
timeout(time: 1, unit: 'HOURS') {
copyArtifacts (projectName: "${rerunJobName}",
selector: specific("${buildId}"),
filter: "**/*.tap",
target:"${rerunJobName}/${buildId}")
}
}
step([$class: "TapPublisher", testResults: "${name}/${buildId}/**/*.tap", outputTapToConsole: false, failIfNoResults: true])
archiveFile("${name}/${buildId}/**/*.tap", true)
Expand Down

0 comments on commit d9cef65

Please sign in to comment.