Jenkins Distribution 2.222.4.3-b1

View the Jenkins Distribution release notes and plugin upgrades

The most notable change is the ec2-plugin update from 1.49.0 to 1.50.2.1 which resolves issue https://github.com/base2Services/base2tools/issues/3

Upgrade Path

The only required change during testing was to remove contentFilters from the Jcasc yaml

unclassified:
  # remove
  contentFilters:
    enabled: false

Revision 2

Once updated please update to revision 2 which updates the ec2-plugin from version 1.150.2 to 1.50.2.1 which fixes a bug with the ssh connection. https://issues.jenkins-ci.org/browse/JENKINS-62195

Unsafe Linux EC2 templates found Warning

This is a warning to prevent Man In Middle attacks when using ec2 agents over ssh. It asks you to change the Host Key Verification Strategy to check-new-hard to guarantee the instance is the right one when establishing a ssh connection. The downside of this strategy is it take agent ~10 minutes to create the ssh connection. There is also a known issue which was encountered in testing https://issues.jenkins-ci.org/browse/JENKINS-62221

For now it is safe to set the strategy to off as that was the state of the previous ec2-plugin version and the ec2 instances are running in a private subnets in a trusted vpc.

To alter the config see the Jcasc example.

clouds:
  - amazonEC2:
      templates:
      - hostKeyVerificationStrategy: OFF|ACCEPT_NEW|CHECK_NEW_SOFT|CHECK_NEW_HARD # select one of the options

To see more information on the strategies go to https://plugins.jenkins.io/ec2/#strategies