Skip to content
Snippets Groups Projects
Commit c9fd3cce authored by Martyn Gigg's avatar Martyn Gigg
Browse files

Build source tarball and html docs on RHEL 7

parent ffb071b8
No related branches found
No related tags found
No related merge requests found
...@@ -254,11 +254,11 @@ if [[ "$BUILDPKG" == true ]]; then ...@@ -254,11 +254,11 @@ if [[ "$BUILDPKG" == true ]]; then
$SCL_ON_RHEL6 "cmake --build . --target docs-qthelp" $SCL_ON_RHEL6 "cmake --build . --target docs-qthelp"
$SCL_ON_RHEL6 "cpack" $SCL_ON_RHEL6 "cpack"
# Source tarball on clean build (arbitrarily choose rhel6) # Source tarball on clean build (arbitrarily choose rhel7)
# Also, parcel up the documentation into a tar file that is easier to move around # Also, parcel up the documentation into a tar file that is easier to move around
# and labelled by the commit id it was built with. This assumes the Jenkins git plugin # and labelled by the commit id it was built with. This assumes the Jenkins git plugin
# has set the GIT_COMMIT environment variable # has set the GIT_COMMIT environment variable
if [[ "$CLEANBUILD" == true && "$ON_RHEL6" == true ]]; then if [[ "$CLEANBUILD" == true && "$ON_RHEL7" == true ]]; then
$SCL_ON_RHEL6 "cmake --build . --target docs-html" $SCL_ON_RHEL6 "cmake --build . --target docs-html"
tar -cjf mantiddocs-g${GIT_COMMIT:0:7}.tar.bz2 --exclude='*.buildinfo' --exclude="MantidProject.q*" docs/html tar -cjf mantiddocs-g${GIT_COMMIT:0:7}.tar.bz2 --exclude='*.buildinfo' --exclude="MantidProject.q*" docs/html
# The ..._PREFIX argument avoids opt/Mantid directories at the top of the tree # The ..._PREFIX argument avoids opt/Mantid directories at the top of the tree
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment