Cadet 3rd Class
Cadet 3rd Class

jenkins plugin using pipeline for remote translation and scan :result executable not found: sourcean


i want to translate and scan java code remotlly 

i setup the Scan Controler and the SSC server and also the cloudscan  each in  its own server 

SSC can monitor them all . 

the problem i have is in the jenkins pipeline that seams to me it some how thinks it scaning locally 
this is the output im getting is :

020-02-19 19:46:46.059 | Running Fortify remote analysis step
2020-02-19 19:46:46.061 | Fortify Jenkins plugin v 19.2.30
2020-02-19 19:46:46.063 | Performing Fortify remote analysis
2020-02-19 19:46:46.065 | executable not found: cloudscan
2020-02-19 19:46:46.067 | fortify_home: null
2020-02-19 19:46:46.070 | path: null
2020-02-19 19:46:46.072 | workspace: /var/lib/jenkins/workspace/myworkplaceMTG4N52MLPSOA
2020-02-19 19:46:46.075 | [myworkplaceMTG4N52MLPSOA] $ cloudscan -sscurl -ssctoken 4b4977cf-408b-437a-b5d3-f627f960fd8d start -bt mvn -upload -application MyJavaApp -version 3.1 -uptoken 4b4977cf-408b-437a-b5d3-f627f960fd8d



in the pipline i just set ( as defined in the documention) 

stage('Fortify Remote Analysis') {
steps {

fortifyRemoteAnalysis remoteAnalysisProjectType: fortifyMaven(),
uploadSSC: [appName: 'MyJavaApp', appVersion: '3.1']


my jenkins version is : Jenkins ver. 2.189


how can i configure the pipeline to translate and scan remotly ? 
java app using maven 




Tags (2)
1 Reply
Cadet 3rd Class
Cadet 3rd Class

I'm having the same problem. The problem is that FORTIFY_HOME or PATH is not read correctly. In my case those are setup and I'm not sure what is wrong. The outputted command looks correct by the way.
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.