Skip to content

Commit

Permalink
Merge branch 'main' into variants_features
Browse files Browse the repository at this point in the history
  • Loading branch information
mjaehn committed Sep 19, 2023
2 parents bd608c8 + bfaaee4 commit eafbdbb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -184,5 +184,13 @@ pipeline {
echo 'Cleaning up workspace'
deleteDir()
}
failure {
mail to: "${env.EMAIL_TO_1}",
subject: "Jenkins Pipeline Failed: ${currentBuild.fullDisplayName}",
body: """The Jenkins pipeline ${currentBuild.fullDisplayName} has failed.
View the build: ${env.BUILD_URL}
"""
}
}
}
4 changes: 2 additions & 2 deletions jenkins/scripts/setup-spack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ function error {
# Check if script is called correctly
[[ $(git rev-parse --show-toplevel 2>/dev/null) = $(pwd) ]] || error "$0 not launched from toplevel of repository"

BRANCH=main
TAG=v0.18.1.12
GIT_REMOTE=https://github.com/C2SM/spack-c2sm.git

rm -fr src/spack-c2sm

pushd src
git clone --depth 1 --recurse-submodules --shallow-submodules -b ${BRANCH} ${GIT_REMOTE}
git clone --depth 1 --recurse-submodules --shallow-submodules -b ${TAG} ${GIT_REMOTE}
. spack-c2sm/setup-env.sh
popd

Expand Down

0 comments on commit eafbdbb

Please sign in to comment.