Skip to content

Commit

Permalink
Delete pre-merge workspace content if success (#9849)
Browse files Browse the repository at this point in the history
Signed-off-by: Peixin Li <[email protected]>
  • Loading branch information
pxLi authored Nov 27, 2023
1 parent 3d116a8 commit d13f170
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jenkins/Jenkinsfile-blossom.premerge
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ git --no-pager diff --name-only HEAD \$BASE -- ${PREMERGE_DOCKERFILE} || true"""
common.publishPytestResult(this, "${STAGE_NAME}")
common.printJVMCoreDumps(this)
}
deleteDir() // cleanup content if no error
}
}
}
Expand Down Expand Up @@ -233,6 +234,7 @@ git --no-pager diff --name-only HEAD \$BASE -- ${PREMERGE_DOCKERFILE} || true"""
common.publishPytestResult(this, "${STAGE_NAME}")
common.printJVMCoreDumps(this)
}
deleteDir() // cleanup content if no error
}
}
}
Expand Down Expand Up @@ -264,6 +266,7 @@ git --no-pager diff --name-only HEAD \$BASE -- ${PREMERGE_DOCKERFILE} || true"""
common.publishPytestResult(this, "${STAGE_NAME}")
common.printJVMCoreDumps(this)
}
deleteDir() // cleanup content if no error
}
}
}
Expand Down
1 change: 1 addition & 0 deletions jenkins/Jenkinsfile-blossom.premerge-databricks
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ pipeline {
script {
unstash('source_tree')
databricksBuild()
deleteDir() // cleanup content if no error
}
}
}
Expand Down

0 comments on commit d13f170

Please sign in to comment.