Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop 2.289.x and 2.303.x lines #1289

Merged
merged 8 commits into from
Jul 21, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ If you are interested in a Bill of Materials for Jenkins core components, see [t
After selecting your plugin’s LTS baseline:

```xml
<jenkins.version>2.289.3</jenkins.version>
<jenkins.version>2.319.3</jenkins.version>
jetersen marked this conversation as resolved.
Show resolved Hide resolved
```

just import the [latest BOM](https://github.com/jenkinsci/bom/releases) from that line:
Expand All @@ -22,7 +22,7 @@ just import the [latest BOM](https://github.com/jenkinsci/bom/releases) from tha
<dependencies>
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.289.x</artifactId>
<artifactId>bom-2.319.x</artifactId>
jetersen marked this conversation as resolved.
Show resolved Hide resolved
<version>…</version>
<scope>import</scope>
<type>pom</type>
Expand Down
62 changes: 0 additions & 62 deletions bom-2.289.x/pom.xml

This file was deleted.

109 changes: 0 additions & 109 deletions bom-2.303.x/pom.xml

This file was deleted.

2 changes: 1 addition & 1 deletion failFast
Original file line number Diff line number Diff line change
@@ -1 +1 @@
true
false
jetersen marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 0 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
<module>bom-2.346.x</module>
<module>bom-2.332.x</module>
<module>bom-2.319.x</module>
<module>bom-2.303.x</module>
<module>bom-2.289.x</module>
<module>sample-plugin</module>
</modules>
<scm child.scm.connection.inherit.append.path="false" child.scm.developerConnection.inherit.append.path="false" child.scm.url.inherit.append.path="false">
Expand Down
14 changes: 0 additions & 14 deletions sample-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -562,19 +562,5 @@
<jenkins.version>2.319.3</jenkins.version>
</properties>
</profile>
<profile>
<id>2.303.x</id>
<properties>
<bom>2.303.x</bom>
<jenkins.version>2.303.3</jenkins.version>
</properties>
</profile>
<profile>
<id>2.289.x</id>
<properties>
<bom>2.289.x</bom>
<jenkins.version>2.289.3</jenkins.version>
</properties>
</profile>
</profiles>
</project>
58 changes: 0 additions & 58 deletions updatecli/updatecli.d/update-plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,6 @@ scms:
branch: "{{ .github.branch }}"

sources:
jenkins2.289.x:
name: Get Last Jenkins Stable Version
kind: githubrelease
spec:
owner: "jenkinsci"
repository: "jenkins"
token: "{{ requiredEnv .github.token }}"
versionfilter:
kind: regex
pattern: 'jenkins-2.289.\d+$'
transformers:
- trimprefix: "jenkins-"
jenkins2.303.x:
name: Get Last Jenkins Stable Version
kind: githubrelease
spec:
owner: "jenkinsci"
repository: "jenkins"
token: "{{ requiredEnv .github.token }}"
versionfilter:
kind: regex
pattern: 'jenkins-2.303.\d+$'
transformers:
- trimprefix: "jenkins-"
jenkins2.319.x:
name: Get Last Jenkins Stable Version
kind: githubrelease
Expand Down Expand Up @@ -73,24 +49,6 @@ sources:
transformers:
- trimprefix: "jenkins-"
conditions:
jenkins2.289.x:
name: Test if Jenkins stable published
kind: maven
sourceid: jenkins2.289.x
spec:
url: "repo.jenkins-ci.org"
repository: "releases"
groupid: "org.jenkins-ci.main"
artifactid: "jenkins-war"
jenkins2.303.x:
name: Test if Jenkins stable published
kind: maven
sourceid: jenkins2.303.x
spec:
url: "repo.jenkins-ci.org"
repository: "releases"
groupid: "org.jenkins-ci.main"
artifactid: "jenkins-war"
jenkins2.319.x:
name: Test if Jenkins stable published
kind: maven
Expand Down Expand Up @@ -119,20 +77,6 @@ conditions:
groupid: "org.jenkins-ci.main"
artifactid: "jenkins-war"
targets:
jenkins2.289.x:
name: 'Update 2.289.x plugins'
sourceid: jenkins2.289.x
kind: shell
spec:
command: pwsh -NoProfile -File ./updatecli/updatecli.d/update-plugins.ps1
scmid: github
jenkins2.303.x:
name: 'Update 2.303.x plugins'
sourceid: jenkins2.303.x
kind: shell
spec:
command: pwsh -NoProfile -File ./updatecli/updatecli.d/update-plugins.ps1
scmid: github
jenkins2.319.x:
name: 'Update 2.319.x plugins'
sourceid: jenkins2.319.x
Expand Down Expand Up @@ -160,8 +104,6 @@ pullrequests:
kind: github
scmid: github
targets:
- jenkins2.289.x
- jenkins2.303.x
- jenkins2.319.x
- jenkins2.332.x
- jenkins2.346.x
Expand Down