Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Quickbuild configuration export for a mist.io based cloud node monitor.
<?xml version="1.0" encoding="UTF-8"?>
<com.pmease.quickbuild.model.Configuration>
<id>26252</id>
<disabled>false</disabled>
<parent>22065</parent>
<name>CloudNodeMonitor</name>
<description>Creates an XML with entries for all of the running cloud nodes in R&amp;D Accounts, across supported clouds</description>
<buildCondition class="com.pmease.quickbuild.setting.configuration.buildcondition.AlwaysBuild"/>
<schedule class="com.pmease.quickbuild.taskschedule.schedule.PeriodicalSchedule">
<paused>false</paused>
<randomRange>60</randomRange>
<repeatInterval>3600</repeatInterval>
</schedule>
<timeout>1</timeout>
<statusDate>2015-04-25T20:18:59.092+02:00</statusDate>
<pluginSettingDOMs>
<entry>
<string>com.pmease.quickbuild.plugin.artifact</string>
<com.pmease.quickbuild.plugin.artifact.ArtifactPluginSetting revision="0">
<policy class="com.pmease.quickbuild.plugin.artifact.RetainByDays">
<days>30</days>
</policy>
</com.pmease.quickbuild.plugin.artifact.ArtifactPluginSetting>
</entry>
</pluginSettingDOMs>
<stepDOMs>
<entry>
<string>Checkout-mist-monitor</string>
<com.pmease.quickbuild.plugin.basis.checkout.CheckoutStep revision="0.10.0.1">
<name>Checkout-mist-monitor</name>
<enabled>true</enabled>
<executeCondition class="com.pmease.quickbuild.setting.step.executecondition.AllPreviousSiblingStepsSuccessful"/>
<nodeMatcher class="com.pmease.quickbuild.setting.step.nodematcher.ParentNodeMatcher"/>
<preExecuteAction class="com.pmease.quickbuild.setting.step.executeaction.NoAction"/>
<postExecuteAction class="com.pmease.quickbuild.setting.step.executeaction.NoAction"/>
<repetitions/>
<repositoryName>CloudNodeMonitor</repositoryName>
</com.pmease.quickbuild.plugin.basis.checkout.CheckoutStep>
</entry>
<entry>
<string>publish-nodes-report</string>
<com.pmease.quickbuild.plugin.report.customstats.publisher.CustomStatsBuildStep revision="0.10.2.1.0">
<name>publish-nodes-report</name>
<enabled>true</enabled>
<executeCondition class="com.pmease.quickbuild.setting.step.executecondition.AllPreviousSiblingStepsSuccessful"/>
<nodeMatcher class="com.pmease.quickbuild.setting.step.nodematcher.ParentNodeMatcher"/>
<preExecuteAction class="com.pmease.quickbuild.setting.step.executeaction.NoAction"/>
<postExecuteAction class="com.pmease.quickbuild.setting.step.executeaction.NoAction"/>
<repetitions/>
<reportsetName>All_Machines</reportsetName>
<filePattern>mist_monitor/output.xml</filePattern>
<stepFailureCondition>false</stepFailureCondition>
<categoryId>Running Cloud Instances</categoryId>
</com.pmease.quickbuild.plugin.report.customstats.publisher.CustomStatsBuildStep>
</entry>
<entry>
<string>master</string>
<com.pmease.quickbuild.stepsupport.SequentialStep revision="0.10.1.2">
<name>master</name>
<enabled>true</enabled>
<executeCondition class="com.pmease.quickbuild.setting.step.executecondition.AllPreviousSiblingStepsSuccessful"/>
<nodeMatcher class="com.pmease.quickbuild.setting.step.nodematcher.HasResourceMatcher">
<resource>cosmo_ci</resource>
</nodeMatcher>
<preExecuteAction class="com.pmease.quickbuild.setting.step.executeaction.NoAction"/>
<postExecuteAction class="com.pmease.quickbuild.setting.step.executeaction.NoAction"/>
<repetitions/>
<childStepNames>
<string>Checkout-mist-monitor</string>
<string>execute-monitor-script</string>
<string>publish-nodes-report</string>
</childStepNames>
<successCondition class="com.pmease.quickbuild.setting.step.successcondition.AllChildStepsSuccessful"/>
</com.pmease.quickbuild.stepsupport.SequentialStep>
</entry>
<entry>
<string>execute-monitor-script</string>
<com.pmease.quickbuild.plugin.basis.CommandBuildStep revision="0.10.3">
<name>execute-monitor-script</name>
<enabled>true</enabled>
<executeCondition class="com.pmease.quickbuild.setting.step.executecondition.AllPreviousSiblingStepsSuccessful"/>
<nodeMatcher class="com.pmease.quickbuild.setting.step.nodematcher.ParentNodeMatcher"/>
<preExecuteAction class="com.pmease.quickbuild.setting.step.executeaction.NoAction"/>
<postExecuteAction class="com.pmease.quickbuild.setting.step.executeaction.NoAction"/>
<repetitions/>
<command>./mist_monitor_runner.sh ${vars.getValue("mistUsername")} ${vars.getValue("mistPassword")}</command>
<workingPath>mist_monitor</workingPath>
<environments/>
<waitForFinish>true</waitForFinish>
<returnCode>0</returnCode>
</com.pmease.quickbuild.plugin.basis.CommandBuildStep>
</entry>
</stepDOMs>
<repositoryDOMs>
<entry>
<string>CloudNodeMonitor</string>
<com.pmease.quickbuild.plugin.scm.git.GitRepository revision="0.3.0.0">
<name>CloudNodeMonitor</name>
<quietPeriod>0</quietPeriod>
<userMapping class="com.pmease.quickbuild.setting.repository.usermapping.SameNameMapping"/>
<fetchUrl>https://github.com/barakm/mist-monitor.git</fetchUrl>
<branch>master</branch>
<userSchema>Author Name</userSchema>
<enableSubmodule>false</enableSubmodule>
</com.pmease.quickbuild.plugin.scm.git.GitRepository>
</entry>
</repositoryDOMs>
<aggregationDOMs/>
<variables>
<com.pmease.quickbuild.variable.Variable>
<name>mistUsername</name>
<description>Username of the mist.io service</description>
<valueProvider class="com.pmease.quickbuild.variable.CleartextValueProvider">
<value>XXXXXXXXXX</value>
</valueProvider>
<promptSetting class="com.pmease.quickbuild.variable.DoNotPrompt">
<remember>true</remember>
<allowEmpty>false</allowEmpty>
</promptSetting>
</com.pmease.quickbuild.variable.Variable>
<com.pmease.quickbuild.variable.Variable>
<name>mistPassword</name>
<description>Password of the mist.io service</description>
<valueProvider class="com.pmease.quickbuild.variable.SecretValueProvider">
<value secret="encrypt">YYYYYYYYYYYYY</value>
</valueProvider>
<promptSetting class="com.pmease.quickbuild.variable.DoNotPrompt">
<remember>true</remember>
<allowEmpty>false</allowEmpty>
</promptSetting>
</com.pmease.quickbuild.variable.Variable>
</variables>
<notifications/>
<promotions/>
</com.pmease.quickbuild.model.Configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment