mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
Fix workingDir for mta whitesource scan (#2431)
* Update whitesource.yaml * Generate and format
This commit is contained in:
parent
080cb025a4
commit
c09c5e1ef0
@ -537,7 +537,7 @@ func whitesourceExecuteScanMetadata() config.StepData {
|
||||
},
|
||||
},
|
||||
Containers: []config.Container{
|
||||
{Image: "devxci/mbtci:1.0.14", WorkingDir: "/project", Conditions: []config.Condition{{ConditionRef: "strings-equal", Params: []config.Param{{Name: "scanType", Value: "mta"}}}}},
|
||||
{Image: "devxci/mbtci:1.0.14", WorkingDir: "/home/mta", Conditions: []config.Condition{{ConditionRef: "strings-equal", Params: []config.Param{{Name: "scanType", Value: "mta"}}}}},
|
||||
{Image: "maven:3.5-jdk-8", WorkingDir: "/home/java", Conditions: []config.Condition{{ConditionRef: "strings-equal", Params: []config.Param{{Name: "scanType", Value: "maven"}}}}},
|
||||
{Image: "node:lts-stretch", WorkingDir: "/home/node", Conditions: []config.Condition{{ConditionRef: "strings-equal", Params: []config.Param{{Name: "scanType", Value: "npm"}}}}},
|
||||
{Image: "hseeberger/scala-sbt:8u181_2.12.8_1.2.8", WorkingDir: "/home/scala", Conditions: []config.Condition{{ConditionRef: "strings-equal", Params: []config.Param{{Name: "scanType", Value: "sbt"}}}}},
|
||||
|
@ -408,7 +408,7 @@ spec:
|
||||
type: "[]string"
|
||||
containers:
|
||||
- image: devxci/mbtci:1.0.14
|
||||
workingDir: /project
|
||||
workingDir: /home/mta
|
||||
env: [ ]
|
||||
conditions:
|
||||
- conditionRef: strings-equal
|
||||
|
Loading…
Reference in New Issue
Block a user