Skip to content

Commit

Permalink
Merge pull request #339 from jglick/2.263.x
Browse files Browse the repository at this point in the history
Adding 2.263.x line
  • Loading branch information
jglick authored Oct 23, 2020
2 parents d5cbb91 + 850f995 commit 8bc5569
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ branches = [failFast: failFast]
lines.each {line ->
plugins.each { plugin ->
branches["pct-$plugin-$line"] = {
retry(2) { // in case of transient node outages
mavenEnv {
deleteDir()
unstash 'pct.sh'
Expand All @@ -54,6 +55,7 @@ lines.each {line ->
sh 'mv megawar-$LINE.war megawar.war && bash pct.sh'
}
}
}
}
}
}
Expand Down
22 changes: 22 additions & 0 deletions bom-2.249.x/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>parent</artifactId>
<version>${revision}${changelist}</version>
</parent>
<artifactId>bom-2.249.x</artifactId>
<packaging>pom</packaging>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>bom-2.263.x</artifactId>
<version>${project.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
</project>
2 changes: 1 addition & 1 deletion bom-latest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<artifactId>parent</artifactId>
<version>${revision}${changelist}</version>
</parent>
<artifactId>bom-2.249.x</artifactId>
<artifactId>bom-2.263.x</artifactId>
<packaging>pom</packaging>
<properties>
<configuration-as-code-plugin.version>1.44</configuration-as-code-plugin.version>
Expand Down
3 changes: 3 additions & 0 deletions pct.sh
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,7 @@ rm -fv pct-work/branch-api/target/surefire-reports/TEST-jenkins.branch.RateLimit
# TODO remove after timestamper upgrades to next bom https://github.com/jenkinsci/bom/pull/294#issuecomment-710770375
rm -fv pct-work/timestamper/target/surefire-reports/TEST-hudson.plugins.timestamper.ConfigurationAsCodeTest.xml

# TODO https://github.com/jenkinsci/workflow-basic-steps-plugin/pull/134
rm -fv pct-work/workflow-basic-steps/target/surefire-reports/TEST-org.jenkinsci.plugins.workflow.steps.CoreWrapperStepTest.xml

# produces: **/target/surefire-reports/TEST-*.xml
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
</scm>
<modules>
<module>bom-latest</module>
<module>bom-2.249.x</module>
<module>bom-2.235.x</module>
<module>bom-2.222.x</module>
<module>bom-2.204.x</module>
Expand Down
11 changes: 9 additions & 2 deletions sample-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<properties>
<revision>16</revision>
<changelist>-SNAPSHOT</changelist>
<bom>2.249.x</bom>
<jenkins.version>2.249.2</jenkins.version>
<bom>2.263.x</bom>
<jenkins.version>2.263</jenkins.version>
<java.level>8</java.level>
</properties>
<repositories>
Expand Down Expand Up @@ -265,6 +265,13 @@
</plugins>
</build>
<profiles>
<profile>
<id>2.249.x</id>
<properties>
<bom>2.249.x</bom>
<jenkins.version>2.249.2</jenkins.version>
</properties>
</profile>
<profile>
<id>2.235.x</id>
<properties>
Expand Down

0 comments on commit 8bc5569

Please sign in to comment.