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

hello 

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 http://10.0.8.175:8080/ssc -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 

Thanks 

 

 

Tags: