mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-01-30 05:59:39 +02:00
Add docker image for whitesource and mta (#2374)
This commit is contained in:
parent
860b28884c
commit
d952cb89d6
@ -537,6 +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: "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"}}}}},
|
||||
|
@ -407,6 +407,14 @@ spec:
|
||||
- name: custom/whitesourceProjectNames
|
||||
type: "[]string"
|
||||
containers:
|
||||
- image: devxci/mbtci:1.0.14
|
||||
workingDir: /project
|
||||
env: [ ]
|
||||
conditions:
|
||||
- conditionRef: strings-equal
|
||||
params:
|
||||
- name: scanType
|
||||
value: mta
|
||||
- image: maven:3.5-jdk-8
|
||||
workingDir: /home/java
|
||||
env: []
|
||||
|
Loading…
x
Reference in New Issue
Block a user