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

[JENKINS-70379] upgrade to run on java 11 #2379

Merged
merged 3 commits into from Jan 5, 2023
Merged

Conversation

car-roll
Copy link
Contributor

@car-roll car-roll commented Jan 5, 2023

Description

See JENKINS-70379.

Submitter checklist

  • Link to JIRA ticket in description, if appropriate.
  • Change is code complete and matches issue description
  • Appropriate unit or acceptance tests or explanation to why this change has no tests
  • Reviewer's manual test instructions provided in PR description. See Reviewer's first task below.

Reviewer checklist

  • Run the changes and verified the change matches the issue description
  • Reviewed the code
  • Verified that the appropriate tests have been written or valid explanation given

@car-roll car-roll marked this pull request as ready for review January 5, 2023 05:29
@car-roll car-roll requested a review from a team as a code owner January 5, 2023 05:29
@car-roll car-roll marked this pull request as draft January 5, 2023 05:29
@car-roll car-roll closed this Jan 5, 2023
@car-roll car-roll reopened this Jan 5, 2023
Comment on lines 32 to 33
when changing jenkins core version please remember to change it in Jenkinsfile as well jenkinsVersions
and acceptance-tests/runner/scripts/args.sh
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^^^

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦

@@ -48,8 +48,8 @@
import org.eclipse.jgit.revwalk.RevCommit;
import org.eclipse.jgit.revwalk.RevTree;
import org.eclipse.jgit.revwalk.RevWalk;
import org.eclipse.jgit.transport.JschConfigSessionFactory;
import org.eclipse.jgit.transport.OpenSshConfig;
import org.eclipse.jgit.transport.ssh.jsch.JschConfigSessionFactory;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated PR title

<dependency>
<groupId>org.jenkins-ci.modules</groupId>
<artifactId>instance-identity</artifactId>
<version>116.vf8f487400980</version>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@car-roll car-roll changed the title upgrade to run on java 11 [JENKINS-70379] upgrade to run on java 11 Jan 5, 2023
@car-roll
Copy link
Contributor Author

car-roll commented Jan 5, 2023

Would the continuous-integration build failure stop incrementals from being built?

@MarkEWaite
Copy link
Contributor

MarkEWaite commented Jan 5, 2023

Would the continuous-integration build failure stop incrementals from being built?

The failure is on the outdated blue ocean specific CI server that the infra team is decommissioning. https://ci.jenkins.io/job/Plugins/job/blueocean-plugin/view/change-requests/job/PR-2379/lastSuccessfulBuild/artifact/ shows a successful build and a zip of artifacts to download. I'm going to try that zip of artifacts in my Jenkins installation as an experiment.

I don't know if Blue Ocean builds are equipped to deliver incremental.

@jglick
Copy link
Member

jglick commented Jan 5, 2023

https://repo.jenkins-ci.org/incrementals/io/jenkins/blueocean/blueocean/1.26.1-rc4327.e4f44aba58fa/ (and other artifacts) got deployed OK.

Copy link
Contributor

@MarkEWaite MarkEWaite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I deployed 1.26.1-rc4327.e4f44aba58fa and confirmed that the scenario described in JENKINS-70379 works with Jenkins 2.375.1.

The code changes look very good to me as well.

@car-roll car-roll marked this pull request as ready for review January 5, 2023 20:05
@jglick
Copy link
Member

jglick commented Jan 5, 2023

:shipit: @olamy @dwnusbaum @batmat

@shamil
Copy link

shamil commented Jan 5, 2023

any reason I see this change in the plugin manager? I assume this is not released yet, and I shouldn't see it there...

image

@car-roll
Copy link
Contributor Author

car-roll commented Jan 5, 2023

@shamil thanks for catching that, will fix

@car-roll car-roll added the dependencies Pull requests that update a dependency file label Jan 5, 2023
@olamy
Copy link
Member

olamy commented Jan 6, 2023

Would the continuous-integration build failure stop incrementals from being built?

The failure is on the outdated blue ocean specific CI server that the infra team is decommissioning. https://ci.jenkins.io/job/Plugins/job/blueocean-plugin/view/change-requests/job/PR-2379/lastSuccessfulBuild/artifact/ shows a successful build and a zip of artifacts to download. I'm going to try that zip of artifacts in my Jenkins installation as an experiment.

Not exactly. Failures are happening in ATH test module which is not running per default on ci.j.io
There is a task (sorry I don't remember the id) in infradesk to be able to run those tests in ci.j.io and stop the current ci server running the ath tests which is paid by cloudbees.
But the task has never really progressed..

I don't know if Blue Ocean builds are equipped to deliver incremental.

@lemeurherve
Copy link
Member

lemeurherve commented Jan 18, 2023

But the task has never really progressed..

Yes sorry about that, been busy on other tasks I've de-prioritized it, but didn't forget, still on my todo list.

jglick added a commit to jglick/blueocean-plugin that referenced this pull request Apr 10, 2023
olamy pushed a commit that referenced this pull request Jul 31, 2023
* Use `SubTask.getOwnerExecutable`

* Update to releases

* Removing some gratuitous version overrides

* Using newest available BOM

* Restoring `InjectedTest`, deleting Animal Sniffer config obsolete as of #2379, and fixing `github` dep versions

* May as well go to 2.401.x now
olamy pushed a commit to olamy/blueocean-plugin that referenced this pull request Aug 7, 2023
* Use `SubTask.getOwnerExecutable`

* Update to releases

* Removing some gratuitous version overrides

* Using newest available BOM

* Restoring `InjectedTest`, deleting Animal Sniffer config obsolete as of jenkinsci#2379, and fixing `github` dep versions

* May as well go to 2.401.x now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file developer
Projects
None yet
7 participants