lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Rowe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-10568) Automate HTML builds via Jenkins to occur with each commit
Date Fri, 28 Apr 2017 02:12:04 GMT

    [ https://issues.apache.org/jira/browse/SOLR-10568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15988057#comment-15988057
] 

Steve Rowe commented on SOLR-10568:
-----------------------------------

I set up a Jenkins job to run daily: https://builds.apache.org/job/Solr-reference-guide-jira-SOLR-10290/lastSuccessfulBuild/artifact/solr/build/solr-ref-guide/html-site/apache-solr-reference-guide.html

I had to do a run of just {{ant ivy-bootstrap}} to populate {{~/.ant/lib/ivy-2.3.0.jar}}.
 Also the H19 node doesn't have jekyll on the path, so I copied most of the following from
the https://builds.apache.org/job/PredictionIO-build-site job that runs on the same {{git-websites}}
label (including H19 and H20 nodes at present) to install Ruby and the required gems under
the jenkins account's home dir - this is the script that the job runs:

{noformat}
export RUBY_PATH=~/shared/.rvm
export GEM_HOME=${RUBY_PATH}/gems
curl -sSL https://get.rvm.io | bash -s -- --path ${RUBY_PATH}
mkdir -p ${GEM_HOME}/gems
gem install --install-dir ${GEM_HOME} jekyll jekyll-asciidoc pygments.rb
export PATH=${GEM_HOME}/bin:$PATH
cd solr/solr-ref-guide
ant clean build-pdf build-site
{noformat}

The latest successfully built HTML: https://builds.apache.org/job/Solr-reference-guide-jira-SOLR-10290/lastSuccessfulBuild/artifact/solr/build/solr-ref-guide/html-site/apache-solr-reference-guide.html

The latest successfully built PDF: https://builds.apache.org/job/Solr-reference-guide-jira-SOLR-10290/lastSuccessfulBuild/artifact/solr/build/solr-ref-guide/apache-solr-ref-guide-7.0.pdf

Tomorrow I'll set it up to email the dev list if the build has a problem - currently no email
is sent.

> Automate HTML builds via Jenkins to occur with each commit
> ----------------------------------------------------------
>
>                 Key: SOLR-10568
>                 URL: https://issues.apache.org/jira/browse/SOLR-10568
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: documentation
>            Reporter: Cassandra Targett
>            Priority: Minor
>
> Spin-off from SOLR-10295.
> The idea is to use a mechanism (possibly gitpubsub and/or svnpubsub?) so Jenkins builds
of HTML format of the Ref Guide occur as soon as commits are made to any non-released branch.
> This would allow any committer to see doc changes ASAP after a commit to verify the presentation
of the information is as expected.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message