You have SSO enabled for the Talend Cloud Management Console (TMC), then with CI, you need to use the user token to publish the artifacts to TMC. To pass the user token for the authentication you pass "-Dcloud.token=<user_token>" as a Maven parameter. However when you are using a Pipeline Jenkins project you do not want the token visible in the Groovy script or in the Jenkins execution logs.
For reference, the sample Groovy script, cloud_token_pipline.txt, is attached to this article.
To hide the token from the plain sight, perform the following steps:
Install the Credential Binding plugin in Jenkins. You may have to do a restart of Jenkins to install this.
Use the Maven "-Dcloud.token" option and the environment variable in which you stored the cloud token.
Run the pipeline and verify that the token value is shown in the logs.