File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3939# Redirect all output of this script additionally to a file in artifacts,
4040# so we can create a junit file with its content in case of general CI failures.
4141# This way the bash script's log can be analyzed using k8s-triage.
42- exec & > >( tee script.log )
42+ exec & > >( tee " ${ARTIFACTS} /junit.e2e-sh.xml " )
4343
4444# shellcheck source=./hack/ensure-go.sh
4545source " ${REPO_ROOT} /hack/ensure-go.sh"
@@ -57,7 +57,7 @@ on_exit() {
5757 [[ -z ${HEART_BEAT_PID:- } ]] || kill -9 " ${HEART_BEAT_PID} "
5858
5959 # If Boskos is being used then release the vsphere project.
60- [ -z " ${BOSKOS_HOST:- } " ] || docker run -e VSPHERE_USERNAME -e VSPHERE_PASSWORD gcr.io/k8s-staging-capi-vsphere/extra/boskosctl:latest release --boskos-host=" ${BOSKOS_HOST} " --resource-owner=" ${BOSKOS_RESOURCE_OWNER} " --resource-name=" ${BOSKOS_RESOURCE_NAME} " --vsphere-server=" ${VSPHERE_SERVER} " --vsphere-tls-thumbprint=" ${VSPHERE_TLS_THUMBPRINT} " --vsphere-folder=" ${BOSKOS_RESOURCE_FOLDER} " --vsphere-resource-pool=" ${BOSKOS_RESOURCE_POOL} "
60+ [ -z " ${BOSKOS_HOST:- } " && -z " ${BOSKOS_RESOURCE_NAME :- } " ] || docker run -e VSPHERE_USERNAME -e VSPHERE_PASSWORD gcr.io/k8s-staging-capi-vsphere/extra/boskosctl:latest release --boskos-host=" ${BOSKOS_HOST} " --resource-owner=" ${BOSKOS_RESOURCE_OWNER} " --resource-name=" ${BOSKOS_RESOURCE_NAME} " --vsphere-server=" ${VSPHERE_SERVER} " --vsphere-tls-thumbprint=" ${VSPHERE_TLS_THUMBPRINT} " --vsphere-folder=" ${BOSKOS_RESOURCE_FOLDER} " --vsphere-resource-pool=" ${BOSKOS_RESOURCE_POOL} "
6161 fi
6262
6363 # Cleanup VSPHERE_PASSWORD from temporary artifacts directory.
You can’t perform that action at this time.
0 commit comments