Skip to content

Commit

Permalink
Merge pull request #172 from sbesson/guides_push
Browse files Browse the repository at this point in the history
Add job for merging OMERO guides
  • Loading branch information
sbesson authored Sep 4, 2020
2 parents ec4cb44 + 78570e8 commit 55eca18
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
57 changes: 57 additions & 0 deletions home/jobs/OMERO-guides-push/config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<?xml version='1.1' encoding='UTF-8'?>
<flow-definition plugin="[email protected]">
<actions>
<org.jenkinsci.plugins.pipeline.modeldefinition.actions.DeclarativeJobAction plugin="[email protected]"/>
<org.jenkinsci.plugins.pipeline.modeldefinition.actions.DeclarativeJobPropertyTrackerAction plugin="[email protected]">
<jobProperties/>
<triggers/>
<parameters>
<string>STATUS</string>
<string>MERGE_OPTIONS</string>
</parameters>
<options/>
</org.jenkinsci.plugins.pipeline.modeldefinition.actions.DeclarativeJobPropertyTrackerAction>
</actions>
<description>Run scc merge and bump versions on omero-plugins</description>
<keepDependencies>false</keepDependencies>
<properties>
<hudson.model.ParametersDefinitionProperty>
<parameterDefinitions>
<hudson.model.ChoiceParameterDefinition>
<name>STATUS</name>
<description>PR check status</description>
<choices class="java.util.Arrays$ArrayList">
<a class="string-array">
<string>success-only</string>
<string>no-error</string>
<string>none</string>
</a>
</choices>
</hudson.model.ChoiceParameterDefinition>
<hudson.model.StringParameterDefinition>
<name>MERGE_OPTIONS</name>
<description>scc merge options</description>
<defaultValue>-vvv --no-ask --reset --comment</defaultValue>
<trim>false</trim>
</hudson.model.StringParameterDefinition>
</parameterDefinitions>
</hudson.model.ParametersDefinitionProperty>
</properties>
<definition class="org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition" plugin="[email protected]">
<script>node(&apos;testintegration&apos;) {

library identifier: &apos;recursiveMerge@master&apos;, retriever: modernSCM(
[$class: &apos;GitSCMSource&apos;,
remote: &apos;git://github.com/ome/jenkins-library-recursivemerge.git&apos;])

recursiveCheckout(
repo: &apos;omero-guides.git&apos;)

recursiveMerge(
baseRepo: &apos;omero-guides.git&apos;)
}</script>
<sandbox>true</sandbox>
</definition>
<triggers/>
<disabled>false</disabled>
</flow-definition>
1 change: 1 addition & 0 deletions home/jobs/Trigger/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
stage(&quot;OMERO Docs&quot;) {
steps {
build job: &apos;OMERO-docs&apos;, wait: false
build job: &apos;OMERO-guides-push&apos;, wait: false
}
}

Expand Down

0 comments on commit 55eca18

Please sign in to comment.