-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #439 from GeminiDRSoftware/jenkins_setup_race
Avoid conda race conditions within a Jenkins test run
- Loading branch information
Showing
5 changed files
with
61 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
# -*- coding: utf-8 -*- | ||
|
||
set -eux | ||
|
||
# Cleanup | ||
pwd | ||
git clean -fxd | ||
mkdir plots reports | ||
if [[ -n "${DRAGONS_TEST_OUT-}" ]]; then | ||
if [[ -d "${DRAGONS_TEST_OUT}" ]]; then | ||
echo "Cleaning previous test results in ${DRAGONS_TEST_OUT}" | ||
rm -r ${DRAGONS_TEST_OUT} | ||
else | ||
echo "Skip deletion of inexistent ${DRAGONS_TEST_OUT}" | ||
fi | ||
else | ||
echo "DRAGONS_TEST_OUT is not set, so not deleting it" | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters