I having some trouble authenticating with `account...
# sdf
m
I having some trouble authenticating with
account:setup:ci
from my Jenkins server and I suspect I might need to specify a proxy. How would I tell the
suitecloud-cli
to use a proxy? When I run
suitecloud account:setup:ci --account **** --authid Jenkins --certificateid **** --privatekeypath ****
in Jenkins, I get 'Something went wrong when trying to access credentials. Contact support.' If I run the command on my local machine with the same certificate ID and private key, it works fine. Thoughts? I found in the docs how to set the proxy used during the installation of the
suitecloud-cli
and that's working, but the CLI doesn't seem to be using that same proxy.
s
Unless they fixed this with the latest release that error happens when you're trying to use a docker image that is missing some internals. Usually with the Alpine or more lightweight ones.
from the archive courtesy of @Ali Syed (NS DevTools QA) try adding to your image:
Copy code
RUN apk update RUN apk add bash RUN apk add dbus RUN dbus-uuidgen --ensure
or try using a chunkier image like the node:slim or something.
❤️ 1
m
@SimonC Spot-on. Thank-you for this. It seems to have fixed the issue. I try to keep a pretty close eye on the #C42JX79UZ channel but didn't remember seeing this. Thanks, again!
s
Don’t mention it. It had come up in the #CKMKB8QQP devops channel