Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] fix rebuilding on Jenkins #371

Merged
merged 2 commits into from
Dec 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 9 additions & 10 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,14 @@ pipeline
cmake --version
# Ubuntu 20.04 only ships cmake 3.16 not 3.17:
echo 'PACKAGES="once:cmake ${PACKAGES}"' > local.cfg
./candi.sh -j 10 -p $WORKSPACE
cp $WORKSPACE/tmp/build/deal.II-*/detailed.log detailed-ubuntu2004.log
rm -rf $WORKSPACE/install
./candi.sh -j 10 -p $WORKSPACE/install
cp $WORKSPACE/install/tmp/build/deal.II-*/detailed.log detailed-ubuntu2004.log
'''
archiveArtifacts artifacts: 'detailed-ubuntu2004.log', fingerprint: true

sh '''#!/bin/bash
cd $WORKSPACE/tmp/build/deal.II-* && make test
cd $WORKSPACE/install/tmp/build/deal.II-* && make test
'''
}
}
Expand All @@ -84,15 +85,15 @@ pipeline
set -x
mpicxx -v
cmake --version
rm -rf $WORKSPACE/tmp/
rm -f local.cfg
./candi.sh -j 10 -p $WORKSPACE
cp $WORKSPACE/tmp/build/deal.II-*/detailed.log detailed-ubuntu2204.log
rm -rf $WORKSPACE/install/
./candi.sh -j 10 -p $WORKSPACE/install
cp $WORKSPACE/install/tmp/build/deal.II-*/detailed.log detailed-ubuntu2204.log
'''
archiveArtifacts artifacts: 'detailed-ubuntu2204.log', fingerprint: true

sh '''#!/bin/bash
cd $WORKSPACE/tmp/build/deal.II-* && make test
cd $WORKSPACE/install/tmp/build/deal.II-* && make test
'''
}
}
Expand Down Expand Up @@ -122,12 +123,10 @@ pipeline
archiveArtifacts artifacts: 'detailed-osx.log', fingerprint: true

sh '''#!/bin/bash
cd $WORKSPACE/tmp/build/deal.II-* && make test
cd $WORKSPACE/tmp/build/deal.II-* && ctest -j 4 --output-on-failure
'''
}
}

}


}
Loading