1
0
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:
Daniel Kurzynski 2020-11-27 11:39:21 +01:00 committed by GitHub
parent 080cb025a4
commit c09c5e1ef0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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"}}}}},

View File

@ -408,7 +408,7 @@ spec:
type: "[]string"
containers:
- image: devxci/mbtci:1.0.14
workingDir: /project
workingDir: /home/mta
env: [ ]
conditions:
- conditionRef: strings-equal