Hi, does someone have experiennce of using CLI in ...
# sdf
x
Hi, does someone have experiennce of using CLI in circleCI to deploy suitecloud project to netsuite? 🙂
f
not circleci but gitlabci. What is your question?
x
Thanks for the reply. So how do you do in gitlabci, do you have some example code to share?
f
The key is just to call
Copy code
./sdf/sdfcli authenticate -account $NS_DEPLOY_ACCOUNT_ID -authid deployment -savetoken -tokenid $NS_DEPLOY_ACCOUNT_TOKEN_ID -tokensecret $NS_DEPLOY_ACCOUNT_TOKEN_SECRET
to set the authentication details with SDF CLI and then you can just run
./sdf/sdfcli deploy -authid deployment
x
Nice. Thanks!