1
0
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:
Daniel Kurzynski 2020-11-26 10:45:47 +01:00 committed by GitHub
parent 860b28884c
commit d952cb89d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

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

View File

@ -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: []