You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Puppet module does not support Sauce labs Credentials.
Gui: Add Credential: Kind is Sauce Labs.
In Credentials File: it will indicate that it is
<hudson.plugins.sauce__ondemand.credentials.SauceCredentials plugin="sauce-ondemand@1.149">
create_resources("jenkins::credentials")... will call method create_or_update_credentials. Which does not support this type of credential.
I tried listing the json for the credentials and it caused an error saying...
SauceCredentials{apiKey=*******==, username='username'} was not an unsupported type of the method. I removed the key hash, and username, was another string entirely.
I have tried puppetizing the entire credentials file, but the api key does not translate correctly, unless I take the file from the running jenkins instance.
If I stand up another jenkins, the secret keys will change, and hash will no longer be interpretable.
Please someone who has puppetized sauce labs credentials, reach out to me.
Or add support for this kind of credential.
Thanks.
The text was updated successfully, but these errors were encountered:
Found out that you need to create a class hudson.plugins.sauce_ondemand.credentials.SauceCredentials, and provide arguments to the constructor. And can add this credential using code from puppet_helper.groovy.
I've written some code, and have been able to execute the groovy through jenkins cli, and it successfully adds the credential. So this is not an issue, although it might be a good addition for others.
Puppet module does not support Sauce labs Credentials.
Gui: Add Credential: Kind is Sauce Labs.
In Credentials File: it will indicate that it is
<hudson.plugins.sauce__ondemand.credentials.SauceCredentials plugin="sauce-ondemand@1.149">
create_resources("jenkins::credentials")... will call method create_or_update_credentials. Which does not support this type of credential.
I tried listing the json for the credentials and it caused an error saying...
SauceCredentials{apiKey=*******==, username='username'} was not an unsupported type of the method. I removed the key hash, and username, was another string entirely.
I have tried puppetizing the entire credentials file, but the api key does not translate correctly, unless I take the file from the running jenkins instance.
If I stand up another jenkins, the secret keys will change, and hash will no longer be interpretable.
Please someone who has puppetized sauce labs credentials, reach out to me.
Or add support for this kind of credential.
Thanks.
The text was updated successfully, but these errors were encountered: