Child pages
  • OpenJDK native installer plugin

Due to some maintenance issues, this service has been switched in read-only mode, you can find more information about the why

and how to migrate your plugin documentation in this blogpost

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Plugin Information

View openJDK-native-plugin on the plugin site for more information.

This plugin adds auto installer for OpenJDK from native RPM packages and provides switching between OpenJDK vesrions using Linux alternatives

Configuration

Add Java installation, select "Install automatically" and choose OpenJDK installer

Select RPM package, which you want to install



 
Alternatives and yum are run via sudo, therefore appropriate sudoers setup is requited (including switching off tty requirement which is turned on by default or run pseudo-tty e.g. by including -t param in ssh command).
Example setup:

/etc/sudoers.d/jenkins
#Defaults    requiretty
User_Alias JENKINS = test
Cmnd_Alias OPENJDK = /usr/sbin/alternatives, /usr/bin/yum
JENKINS ALL = NOPASSWD: OPENJDK
  • No labels