forked from markov/jenkins-maven-metadata-plugin
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[JENKINS-38978] Reproduce param passing problem in matrix projects
The reproduction of the parameters not being passed to child jobs in multi-configuration projects requires: * adding a new _test-matrix_ job for the dev environment * upgrading to Jenkins 1.609 * adding the _matrix-project_ plugin (in test scope) with version 1.7 * upgrading the credentials plugin to 1.14 The freestyle test job for the development workspace was renamed and improved, too.
- Loading branch information
1 parent
cc341d1
commit b7609bb
Showing
5 changed files
with
76 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<matrix-project> | ||
<actions/> | ||
<description></description> | ||
<keepDependencies>false</keepDependencies> | ||
<properties> | ||
<hudson.model.ParametersDefinitionProperty> | ||
<parameterDefinitions> | ||
<eu.markov.jenkins.plugin.mvnmeta.MavenMetadataParameterDefinition> | ||
<name>ARTIFACT</name> | ||
<description></description> | ||
<repoBaseUrl>http://repo.jenkins-ci.org/public</repoBaseUrl> | ||
<groupId>${project.groupId}</groupId> | ||
<artifactId>${project.artifactId}</artifactId> | ||
<packaging>${project.packaging}</packaging> | ||
<defaultValue></defaultValue> | ||
<classifier></classifier> | ||
<versionFilter></versionFilter> | ||
<sortOrder>DESC</sortOrder> | ||
<maxVersions></maxVersions> | ||
<currentArtifactInfoUrl>file://${project.basedir}/work/jobs/test-matrix/currentArtifactInfo.txt</currentArtifactInfoUrl> | ||
<currentArtifactInfoLabel>Currently under development</currentArtifactInfoLabel> | ||
<currentArtifactInfoPattern>Plugin Version: ([\S]+)</currentArtifactInfoPattern> | ||
<credentialsId></credentialsId> | ||
</eu.markov.jenkins.plugin.mvnmeta.MavenMetadataParameterDefinition> | ||
</parameterDefinitions> | ||
</hudson.model.ParametersDefinitionProperty> | ||
</properties> | ||
<scm class="hudson.scm.NullSCM"/> | ||
<canRoam>true</canRoam> | ||
<disabled>false</disabled> | ||
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding> | ||
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> | ||
<triggers/> | ||
<concurrentBuild>false</concurrentBuild> | ||
<axes> | ||
<hudson.matrix.TextAxis> | ||
<name>ARTIFACT_AXIS_A</name> | ||
<values> | ||
<string>1</string> | ||
<string>2</string> | ||
</values> | ||
</hudson.matrix.TextAxis> | ||
<hudson.matrix.TextAxis> | ||
<name>ARTIFACT_AXIS_B</name> | ||
<values> | ||
<string>3</string> | ||
<string>4</string> | ||
</values> | ||
</hudson.matrix.TextAxis> | ||
</axes> | ||
<builders> | ||
<hudson.tasks.Shell> | ||
<command>env | grep "^ARTIFACT_" | sort</command> | ||
</hudson.tasks.Shell> | ||
</builders> | ||
<publishers/> | ||
<buildWrappers/> | ||
<executionStrategy class="hudson.matrix.DefaultMatrixExecutionStrategyImpl"> | ||
<runSequentially>false</runSequentially> | ||
</executionStrategy> | ||
</matrix-project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Plugin ID: ${project.artifactId} | ||
Plugin Version: ${project.version} | ||
Jenkins Core Version: ${project.parent.version} |