Skip to content

Instantly share code, notes, and snippets.

@cyberkov
Created March 13, 2016 22:00
Show Gist options
  • Save cyberkov/a06a3526b217b36c5f79 to your computer and use it in GitHub Desktop.
Save cyberkov/a06a3526b217b36c5f79 to your computer and use it in GitHub Desktop.
Jenkins configuration for openhab-matrixbuild
<?xml version='1.0' encoding='UTF-8'?>
<matrix-project plugin="matrix-project@1.6">
<actions/>
<description></description>
<keepDependencies>false</keepDependencies>
<properties>
<hudson.plugins.disk__usage.DiskUsageProperty plugin="disk-usage@0.28"/>
<com.coravy.hudson.plugins.github.GithubProjectProperty plugin="github@1.17.1">
<projectUrl>https://github.com/cyberkov/openhab-docker/</projectUrl>
<displayName></displayName>
</com.coravy.hudson.plugins.github.GithubProjectProperty>
<jenkins.plugins.slack.SlackNotifier_-SlackJobProperty plugin="slack@1.8.1">
<teamDomain></teamDomain>
<token></token>
<room></room>
<startNotification>false</startNotification>
<notifySuccess>false</notifySuccess>
<notifyAborted>false</notifyAborted>
<notifyNotBuilt>false</notifyNotBuilt>
<notifyUnstable>false</notifyUnstable>
<notifyFailure>false</notifyFailure>
<notifyBackToNormal>false</notifyBackToNormal>
<notifyRepeatedFailure>false</notifyRepeatedFailure>
<includeTestSummary>false</includeTestSummary>
<showCommitList>false</showCommitList>
<includeCustomMessage>false</includeCustomMessage>
<customMessage></customMessage>
</jenkins.plugins.slack.SlackNotifier_-SlackJobProperty>
</properties>
<scm class="hudson.plugins.git.GitSCM" plugin="git@2.4.2">
<configVersion>2</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<url>https://github.com/cyberkov/openhab-docker.git</url>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>*/dev</name>
</hudson.plugins.git.BranchSpec>
</branches>
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
<submoduleCfg class="list"/>
<extensions/>
</scm>
<canRoam>true</canRoam>
<disabled>false</disabled>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
<triggers>
<com.cloudbees.jenkins.GitHubPushTrigger plugin="github@1.17.1">
<spec></spec>
</com.cloudbees.jenkins.GitHubPushTrigger>
</triggers>
<concurrentBuild>false</concurrentBuild>
<axes>
<hudson.matrix.TextAxis>
<name>ARCH</name>
<values>
<string>x86</string>
<string>arm7hf</string>
</values>
</hudson.matrix.TextAxis>
<hudson.matrix.TextAxis>
<name>FLAVOR</name>
<values>
<string>online</string>
<string>offline</string>
</values>
</hudson.matrix.TextAxis>
</axes>
<builders>
<com.cloudbees.dockerpublish.DockerBuilder plugin="docker-build-publish@1.2.1">
<server plugin="docker-commons@1.3.1">
<uri>127.0.0.1:2375</uri>
</server>
<registry plugin="docker-commons@1.3.1">
<credentialsId>xxxxx</credentialsId>
</registry>
<repoName>cyberkov/openhab2</repoName>
<noCache>false</noCache>
<forcePull>true</forcePull>
<dockerfilePath>Dockerfile.${ARCH}</dockerfilePath>
<skipBuild>false</skipBuild>
<skipDecorate>false</skipDecorate>
<repoTag>${ARCH}</repoTag>
<skipPush>false</skipPush>
<createFingerprint>true</createFingerprint>
<skipTagLatest>true</skipTagLatest>
<buildAdditionalArgs>--build-arg DOWNLOAD_URL=&quot;https://openhab.ci.cloudbees.com/job/openHAB-Distribution/lastSuccessfulBuild/artifact/distributions/openhab-${FLAVOR}/target/openhab-${FLAVOR}-2.0.0-SNAPSHOT.zip&quot;</buildAdditionalArgs>
<forceTag>true</forceTag>
</com.cloudbees.dockerpublish.DockerBuilder>
</builders>
<publishers/>
<buildWrappers/>
<executionStrategy class="hudson.matrix.DefaultMatrixExecutionStrategyImpl">
<runSequentially>false</runSequentially>
</executionStrategy>
</matrix-project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment