Skip to content

Commit

Permalink
Merge pull request #72 from sbesson/docs
Browse files Browse the repository at this point in the history
OMERO documentation job
  • Loading branch information
joshmoore authored Sep 20, 2017
2 parents c847770 + cccc1b1 commit 572acc5
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ they are associated with and a short description of the job:
| OMERO-test-integration | testintegration | Runs the OMERO integration tests |
| OMERO-robot | testintegration | Runs the Robot tests |
| nginx | nginx | Reloads the nginx server |
| OMERO-docs | testintegration | Builds the OMERO documentation |


Default packages:
Expand Down
75 changes: 75 additions & 0 deletions home/jobs/OMERO-docs/config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<?xml version='1.0' encoding='UTF-8'?>
<project>
<actions/>
<description></description>
<keepDependencies>false</keepDependencies>
<properties>
<jenkins.model.BuildDiscarderProperty>
<strategy class="hudson.tasks.LogRotator">
<daysToKeep>-1</daysToKeep>
<numToKeep>-1</numToKeep>
<artifactDaysToKeep>-1</artifactDaysToKeep>
<artifactNumToKeep>2</artifactNumToKeep>
</strategy>
</jenkins.model.BuildDiscarderProperty>
<hudson.model.ParametersDefinitionProperty>
<parameterDefinitions>
<hudson.model.StringParameterDefinition>
<name>MERGE_COMMAND</name>
<description></description>
<defaultValue>merge SPACENAME --no-ask --reset</defaultValue>
</hudson.model.StringParameterDefinition>
</parameterDefinitions>
</hudson.model.ParametersDefinitionProperty>
</properties>
<scm class="hudson.plugins.git.GitSCM" plugin="[email protected]">
<configVersion>2</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<url>https://github.com/openmicroscopy/ome-documentation</url>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>SPACEBRANCH</name>
</hudson.plugins.git.BranchSpec>
</branches>
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
<submoduleCfg class="list"/>
<extensions>
<hudson.plugins.git.extensions.impl.CleanCheckout/>
</extensions>
</scm>
<assignedNode>testintegration</assignedNode>
<canRoam>false</canRoam>
<disabled>false</disabled>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
<triggers/>
<concurrentBuild>false</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>pip install --user scc
test -e src &amp;&amp; cd src
$HOME/.local/bin/scc $MERGE_COMMAND</command>
</hudson.tasks.Shell>
<hudson.tasks.Ant plugin="[email protected]">
<targets>clean html</targets>
<antName>Ant 1.9</antName>
<buildFile>omero/build.xml</buildFile>
</hudson.tasks.Ant>
</builders>
<publishers>
<hudson.tasks.ArtifactArchiver>
<artifacts>omero/_build/html/**</artifacts>
<allowEmptyArchive>false</allowEmptyArchive>
<onlyIfSuccessful>false</onlyIfSuccessful>
<fingerprint>false</fingerprint>
<defaultExcludes>true</defaultExcludes>
<caseSensitive>true</caseSensitive>
</hudson.tasks.ArtifactArchiver>
</publishers>
<buildWrappers>
<hudson.plugins.timestamper.TimestamperBuildWrapper plugin="[email protected]"/>
</buildWrappers>
</project>
2 changes: 2 additions & 0 deletions home/jobs/Trigger/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ build job: &apos;OMERO-test-integration&apos;, propagate: false

build job: &apos;OMERO-robot&apos;, wait: false

build job: &apos;OMERO-docs&apos;, wait: false

</script>
<sandbox>false</sandbox>
</definition>
Expand Down
3 changes: 1 addition & 2 deletions slave/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ WORKDIR /tmp/omero-install/linux

RUN JAVAVER=$JAVAVER ICEVER=$ICEVER PGVER=nopg bash install_centos7_nginx.sh

# install sphinx - minimum required
RUN pip install sphinx==1.2.3
RUN pip install Sphinx

# Install FindBugs
ENV FINDBUGS_VERSION 3.0.0
Expand Down

0 comments on commit 572acc5

Please sign in to comment.