lucene-dev mailing list archives

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


Steve Rowe commented on SOLR-10568:

I set up a Jenkins job to run daily:

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 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:

export RUBY_PATH=~/shared/.rvm
export GEM_HOME=${RUBY_PATH}/gems
curl -sSL | 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

The latest successfully built HTML:

The latest successfully built 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:
>             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message