Closed fabitamas closed 4 years ago
You need to enter a CloudCtrlToken in the "Controller token" field. For a CloudScan scan, this is the token that is used, not the "Authentication token" under the SSC URL field.
Thanks for the tip, the controller token field is filled out
hmm...haven't seen or experienced this myself. Have you tried restarting Jenkins?
No, but I cannot really restart it... It is a main production jenkins instance of the company. It works on my test instance also.
Sorry, this was a mistake from the devops team, the controller token was actually not configured correctly.
I'm trying to use the plugin to initiate a cloud scan in the following way:
fortifyRemoteAnalysis remoteAnalysisProjectType: fortifyMaven(buildFile: ''), uploadSSC: [appName: 'my-app-name', appVersion: 'my-version']
The generated command looks the following:
cloudscan -sscurl <my-ssc-url> -ssctoken start -bt mvn -upload -application my-app-name -version my-version -uptoken
It is missing the actual ssctoken and uptoken. The command fails to execute correctly without those tokens. The tokens are configured correctly on the Manage Jenkins page.