Skip to content

Use bundled jdk to compile#1856

Open
FreddieAkeroyd wants to merge 1 commit into
masterfrom
ensure_jdk_version
Open

Use bundled jdk to compile#1856
FreddieAkeroyd wants to merge 1 commit into
masterfrom
ensure_jdk_version

Conversation

@FreddieAkeroyd

Copy link
Copy Markdown
Member

Description of work

Use bundled JDK to compile client - previously it was picking up whatever java was in system PATH. Using bundled jdk ensures correct version is always used and also consistency across build servers

Acceptance criteria

  • PR built in jenkins

Code Review

Final Steps

@FreddieAkeroyd FreddieAkeroyd moved this to Flash Review in Tasks Jun 23, 2026
Comment thread build/build.bat
Comment thread build/jenkins_build.bat Outdated
@@ -7,7 +7,7 @@ set M2=%MAVEN%bin

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think this %MAVEN% variable is no longer set, when I look at a jenkins log the path is:

set "PATH=C:\jenkins\workspace\ibex_gui_pr_pipeline_PR-1856\build\jdk\bin;bin;C:\TwinCAT\Common64;...

I think that standalone bin is because %MAVEN% was blank

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

yes, i've moved this and setting of M2 to the other files. Wasn't sure of we need M2_HOME / MAVEN_HOME too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Flash Review

Development

Successfully merging this pull request may close these issues.

2 participants