File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -184,5 +184,13 @@ pipeline {
184184 echo ' Cleaning up workspace'
185185 deleteDir()
186186 }
187+ failure {
188+ mail to : " ${ env.EMAIL_TO_1} " ,
189+ subject : " Jenkins Pipeline Failed: ${ currentBuild.fullDisplayName} " ,
190+ body : """ The Jenkins pipeline ${ currentBuild.fullDisplayName} has failed.
191+
192+ View the build: ${ env.BUILD_URL}
193+ """
194+ }
187195 }
188196}
Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ function error {
1010# Check if script is called correctly
1111[[ $( git rev-parse --show-toplevel 2> /dev/null) = $( pwd) ]] || error " $0 not launched from toplevel of repository"
1212
13- BRANCH=main
13+ TAG=v0.18.1.12
1414GIT_REMOTE=https://github.com/C2SM/spack-c2sm.git
1515
1616rm -fr src/spack-c2sm
1717
1818pushd src
19- git clone --depth 1 --recurse-submodules --shallow-submodules -b ${BRANCH } ${GIT_REMOTE}
19+ git clone --depth 1 --recurse-submodules --shallow-submodules -b ${TAG } ${GIT_REMOTE}
2020. spack-c2sm/setup-env.sh
2121popd
2222
You can’t perform that action at this time.
0 commit comments