Skip to content

Commit

Permalink
Merge pull request #170 from sbesson/website_push
Browse files Browse the repository at this point in the history
Website push job
  • Loading branch information
sbesson authored Sep 4, 2020
2 parents fa3f9fb + de62ef6 commit ec4cb44
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 4 deletions.
15 changes: 11 additions & 4 deletions home/jobs/Trigger/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@
<hudson.model.ChoiceParameterDefinition>
<name>STATUS</name>
<description>scc status flag</description>
<choices>
<string>success-only</string>
<string>no-error</string>
<string>none</string>
<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>
</parameterDefinitions>
Expand Down Expand Up @@ -119,6 +121,11 @@
}
}

stage(&quot;Website&quot;) {
steps {
build job: &apos;WEBSITE-push&apos;, wait: false
}
}
}
}</script>
<sandbox>true</sandbox>
Expand Down
57 changes: 57 additions & 0 deletions home/jobs/WEBSITE-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;www.openmicroscopy.org&apos;)

recursiveMerge(
baseRepo: &apos;www.openmicroscopy.org&apos;)
}</script>
<sandbox>true</sandbox>
</definition>
<triggers/>
<disabled>false</disabled>
</flow-definition>

0 comments on commit ec4cb44

Please sign in to comment.