Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
c9fd3cce
Commit
c9fd3cce
authored
8 years ago
by
Martyn Gigg
Browse files
Options
Downloads
Patches
Plain Diff
Build source tarball and html docs on RHEL 7
parent
ffb071b8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
buildconfig/Jenkins/buildscript
+2
-2
2 additions, 2 deletions
buildconfig/Jenkins/buildscript
with
2 additions
and
2 deletions
buildconfig/Jenkins/buildscript
+
2
−
2
View file @
c9fd3cce
...
@@ -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 rhel
6
)
# Source tarball on clean build (arbitrarily choose rhel
7
)
# 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_RHEL
6
"
==
true
]]
;
then
if
[[
"
$CLEANBUILD
"
==
true
&&
"
$ON_RHEL
7
"
==
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment