-
Notifications
You must be signed in to change notification settings - Fork 1
/
guides.dataverse.org.xml
79 lines (67 loc) · 5.24 KB
/
guides.dataverse.org.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?xml version='1.1' encoding='UTF-8'?>
<project>
<actions/>
<description></description>
<keepDependencies>false</keepDependencies>
<properties>
<hudson.plugins.jira.JiraProjectProperty plugin="jira@3.12"/>
<com.sonyericsson.jenkins.plugins.bfa.model.ScannerJobProperty plugin="build-failure-analyzer@2.5.0">
<doNotScan>false</doNotScan>
</com.sonyericsson.jenkins.plugins.bfa.model.ScannerJobProperty>
</properties>
<scm class="hudson.plugins.git.GitSCM" plugin="git@5.2.1">
<configVersion>2</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<url>https://github.com/IQSS/dataverse.git</url>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>*/develop</name>
</hudson.plugins.git.BranchSpec>
</branches>
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
<submoduleCfg class="empty-list"/>
<extensions/>
</scm>
<canRoam>true</canRoam>
<disabled>false</disabled>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
<triggers/>
<concurrentBuild>false</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>VERSION=6.2
TARBALL=guides$VERSION.tar.gz
#echo $VERSION
#echo $TARBALL
# need this for pdflatex
# just sets typefaces, deal with it once it works.
#. /etc/profile.d/HMDC_LaTeX.sh
# restore this version after "pdflatex: Command not found" issue is resolved https://help.hmdc.harvard.edu/Ticket/Display.html?id=231943
#(cd $WORKSPACE/doc/sphinx-guides; make clean; scl enable python27 "make html"; scl enable python27 "make latexpdf"; cp build/latex/Dataverse.pdf build/html; scl enable python27 "make epub"; cp build/epub/Dataverse.epub build/html; cd build/html; tar cvzf /tmp/$TARBALL .; scp /tmp/$TARBALL redacted@docs.dataverse.org:/tmp)
# 2016-03-08 PDF Y U NO BUILD?!?
#(cd $WORKSPACE/doc/sphinx-guides; make clean; scl enable python27 "make html"; scl enable python27 "make epub"; cp build/epub/Dataverse.epub build/html; cd build/html; tar cvzf /tmp/$TARBALL .; scp /tmp/$TARBALL redacted@guides.dataverse.org:/tmp)
#(cd $WORKSPACE/doc/sphinx-guides; make clean; scl enable python27 "make html"; cd build/html; tar cvzf /tmp/$TARBALL .; scp /tmp/$TARBALL redacted@docs.dataverse.org:/tmp)
# New and improved command line to eliminate epub unknown mime-type warnings, see github #3391
#(cd $WORKSPACE/doc/sphinx-guides; make clean; scl enable python27 "make html SPHINXBUILD=/nfs/tools/lib/python/2.7/current/bin/sphinx-build"; scl enable python27 "make latexpdf SPHINXBUILD=/nfs/tools/lib/python/2.7/current/bin/sphinx-build"; cp build/latex/Dataverse.pdf build/html; scl enable python27 "make epub SPHINXBUILD=/nfs/tools/lib/python/2.7/current/bin/sphinx-build"; cp build/epub/Dataverse.epub build/html; cd build/html; tar cvzf /tmp/$TARBALL .; scp /tmp/$TARBALL redacted@docs.dataverse.org:/tmp)
# docs.dataverse.org is no longer in DNS :( -- pdurbin 2018-03-13
#(cd $WORKSPACE/doc/sphinx-guides; make clean; scl enable python27 "make html SPHINXBUILD=/nfs/tools/lib/python/2.7/current/bin/sphinx-build"; scl enable python27 "make latexpdf SPHINXBUILD=/nfs/tools/lib/python/2.7/current/bin/sphinx-build"; cp build/latex/Dataverse.pdf build/html; scl enable python27 "make epub SPHINXBUILD=/nfs/tools/lib/python/2.7/current/bin/sphinx-build"; cp build/epub/Dataverse.epub build/html; cd build/html; tar cvzf /tmp/$TARBALL .; scp /tmp/$TARBALL redacted@docs.dataverse.org:/tmp)
#ssh -l redacted docs.dataverse.org "(mkdir -p /var/www/docs.dataverse.org/en/$VERSION && cd /var/www/docs.dataverse.org/en/$VERSION && tar xvzf /tmp/$TARBALL)"
#(cd $WORKSPACE/doc/sphinx-guides; make clean; scl enable python27 "make html SPHINXBUILD=/nfs/tools/lib/python/2.7/current/bin/sphinx-build"; scl enable python27 "make epub SPHINXBUILD=/nfs/tools/lib/python/2.7/current/bin/sphinx-build"; cp build/epub/Dataverse.epub build/html; cd build/html; tar cvzf /tmp/$TARBALL .; scp /tmp/$TARBALL redacted@guides.dataverse.org:/tmp)
#original build command with PDF
#(cd $WORKSPACE/doc/sphinx-guides; make clean; make html; make latexpdf; cp build/latex/Dataverse.pdf build/html; make epub; cp build/epub/Dataverse.epub build/html; cd build/html; tar cvzf /tmp/$TARBALL .; scp /tmp/$TARBALL redacted@guides.dataverse.org:/tmp)
# build without latexPDF which doesn't compile
# I have tried inserting "pip3 install -r requirements.txt; " between the cd and make commands below -
# see the failed buidl #403 for error messages - L.A.
(cd $WORKSPACE/doc/sphinx-guides; pip3.9 install -r requirements.txt; make clean; make html; make epub; cp build/epub/Dataverse.epub build/html; cd build/html; tar cvzf /tmp/$TARBALL .; scp /tmp/$TARBALL rocky@54.198.97.45:/tmp)
ssh -l rocky@54.198.97.45 "(mkdir -p /var/www/html/en/$VERSION && cd /var/www/html/en/$VERSION && tar xvzf /tmp/$TARBALL)"
</command>
<configuredLocalRules/>
</hudson.tasks.Shell>
</builders>
<publishers/>
<buildWrappers/>
</project>