I’ve suddenly started getting a lot of the following message in my Jenkins logs. I’m figuring it happened coincident with one of my team members copying a jobs folder from our previous Jenkins install to my newer one (running LTS 2.204.5).
Can anyone tell me what the log messages are referring to, and how to clean it up? Thanks in advance.
2020-03-25 15:17:35.966+0000 [id=31] WARNING c.a.a.p.i.BasicProfileConfigLoader#loadProfiles: Your profile name includes a 'profile ' prefix. This is considered part of the profile name in the Java SDK, so you will need to include this
prefix in your profile name when you reference this profile from your Java code.
Re: Your profile name includes a 'profile ' prefix
I apologize for the spam, I was able to determine the cause... found a message in logs that suggested it was an AWS credential issue. Log messages stopped after fixing this.
2020-03-25 15:52:12.362+0000 [id=35] WARNING c.a.p.p.c.CredentialsLegacyConfigLocationProvider#getLocation: Found the legacy config profiles file at [/var/lib/jenkins/.aws/config]. Please move it to the latest default location [~/.aws/credentials].