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

Fix incrementals #353

Merged
merged 1 commit into from
Jan 23, 2024
Merged

Fix incrementals #353

merged 1 commit into from
Jan 23, 2024

Conversation

basil
Copy link
Member

@basil basil commented Aug 11, 2023

Incrementals deployment of https://ci.jenkins.io/job/Plugins/job/github-plugin/job/master/124/console failed with:

13:46:04  HttpMethod: POST
13:46:04  URL: https://incrementals.jenkins.io/
13:46:04  Content-Type: application/json
13:46:04  Authorization: *****
13:46:04  Sending request to url: https://incrementals.jenkins.io/
13:46:06  Response Code: HTTP/1.1 400 Bad Request
13:46:06  Response: 
13:46:06  Invalid archive retrieved from Jenkins, perhaps the plugin is not properly incrementalized?

@basil
Copy link
Member Author

basil commented Aug 11, 2023

Incrementals deployed:

15:03:04  HttpMethod: POST
15:03:04  URL: https://incrementals.jenkins.io/
15:03:04  Content-Type: application/json
15:03:04  Authorization: *****
15:03:04  Sending request to url: https://incrementals.jenkins.io/
15:03:07  Response Code: HTTP/1.1 200 OK
15:03:07  Response: 
15:03:07  Response from Artifactory: 
15:03:07  
15:03:07  Success: Status code 200 is in the accepted range: 100:599

@MarkEWaite MarkEWaite mentioned this pull request Oct 10, 2023
3 tasks
MarkEWaite added a commit to MarkEWaite/github-plugin that referenced this pull request Oct 10, 2023
Java 21 was released Sep 19, 2023. We want to announce full support
for Java 21 in early October and would like the most used plugins to
be compiled and tested with Java 21.

The acceptance test harness and plugin bill of materials tests are
already passing with Java 21. This is a further step to improve plugin
readiness for use with Java 21 and for development with Java 21.

The change intentionally tests only two Java configurations, Java 17
and Java 21 because we believe that the risk of a regression that only
affects Java 11 is low. We generate Java 11 byte code with the Java 17
and the Java 21 builds, so we're already testing Java 11 byte code.

Also updates parent pom to most current release and removes unneeded
hamcrest dependency declaration.

Supersedes pull request:

* jenkinsci#367
* jenkinsci#366
* jenkinsci#361
* jenkinsci#360
* jenkinsci#359
* jenkinsci#353
* jenkinsci#352
MarkEWaite added a commit to MarkEWaite/github-plugin that referenced this pull request Oct 10, 2023
Java 21 was released Sep 19, 2023. We want to announce full support
for Java 21 in early October and would like the most used plugins to
be compiled and tested with Java 21.

The acceptance test harness and plugin bill of materials tests are
already passing with Java 21. This is a further step to improve plugin
readiness for use with Java 21 and for development with Java 21.

The change intentionally tests only two Java configurations, Java 17
and Java 21 because we believe that the risk of a regression that only
affects Java 11 is low. We generate Java 11 byte code with the Java 17
and the Java 21 builds, so we're already testing Java 11 byte code.

Also updates parent pom to most current release and removes unneeded
hamcrest dependency declaration.

Supersedes pull request:

* jenkinsci#367
* jenkinsci#366
* jenkinsci#361
* jenkinsci#360
* jenkinsci#359
* jenkinsci#353
* jenkinsci#352
oleg-nenashev pushed a commit that referenced this pull request Nov 12, 2023
* Test with Java 21

Java 21 was released Sep 19, 2023. We want to announce full support
for Java 21 in early October and would like the most used plugins to
be compiled and tested with Java 21.

The acceptance test harness and plugin bill of materials tests are
already passing with Java 21. This is a further step to improve plugin
readiness for use with Java 21 and for development with Java 21.

The change intentionally tests only two Java configurations, Java 17
and Java 21 because we believe that the risk of a regression that only
affects Java 11 is low. We generate Java 11 byte code with the Java 17
and the Java 21 builds, so we're already testing Java 11 byte code.

Also updates parent pom to most current release and removes unneeded
hamcrest dependency declaration.

Supersedes pull request:

* #367
* #366
* #361
* #360
* #359
* #353
* #352

* Test Java 11 directly

Address the concern that Oleg expressed in
#368 (review)

We've detected no regressions with the transition to testing Java 11
byte code as generated by Java 17 and Java 21 compilers in the 200+
plugins that have made the transition.

We test with Java 11 on older lines (Jenkins 2.401.x and Jenkins
2.414.x) in the plugin bill of materials while testing with Java 21 on
the most recent weekly release.  We've detected no issues with any of
the plugins that are included in the plugin BOM.

We want to reduce Jenkins infrastructure costs by not testing
configurations that are unlikely to detect issues.  Testing with Java
11 is unlikely to detect issues and adds infrastructure cost.

I've added Java 11 on Linux as a test configuration. I do not intend
to make that same addition on the other 100+ repositories where we're
testing with Java 21 and Java 17.  When a plugin maintainer asks to
continue testing Java 11, I'm willing to adapt that pull request.

* Revert "Test Java 11 directly"

This reverts commit 6d8ef2f.
@KostyaSha KostyaSha merged commit 7ae54e8 into jenkinsci:master Jan 23, 2024
1 of 2 checks passed
@KostyaSha
Copy link
Member

I guess maven-release-plugin will revert it during every release

@basil basil deleted the incrementals branch January 23, 2024 22:20
@basil
Copy link
Member Author

basil commented Feb 2, 2024

I guess maven-release-plugin will revert it during every release

Recent versions of incrementals-tools should reincrementalify the plugin after every release. Looks like this worked successfully in ca57d8e.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants