Your profile name includes a 'profile ' prefix

3,703 views
Skip to first unread message

Alan Sparks

unread,
Mar 25, 2020, 12:23:45 PM3/25/20
to jenkins...@googlegroups.com

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.

-Alan

 

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.

Alan Sparks

unread,
Mar 25, 2020, 12:45:35 PM3/25/20
to Jenkins Users
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].
Reply all
Reply to author
Forward
0 new messages