mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-01-18 05:18:24 +02:00
fix(whitesource) use mta image without npm.sap.com (#2760)
* fix npm.sap.com issue * use latest * go generate * use fixed version 1.0.16.1 * mbt version for tests also changed
This commit is contained in:
parent
b531c2a017
commit
559bcd1ef2
@ -617,7 +617,7 @@ func whitesourceExecuteScanMetadata() config.StepData {
|
||||
},
|
||||
Containers: []config.Container{
|
||||
{Image: "buildpack-deps:stretch-curl", WorkingDir: "/tmp", Conditions: []config.Condition{{ConditionRef: "strings-equal", Params: []config.Param{{Name: "buildTool", Value: "dub"}, {Name: "buildTool", Value: "docker"}}}}},
|
||||
{Image: "devxci/mbtci:1.0.14", WorkingDir: "/home/mta", Conditions: []config.Condition{{ConditionRef: "strings-equal", Params: []config.Param{{Name: "buildTool", Value: "mta"}}}}},
|
||||
{Image: "devxci/mbtci:1.0.16.1", WorkingDir: "/home/mta", Conditions: []config.Condition{{ConditionRef: "strings-equal", Params: []config.Param{{Name: "buildTool", Value: "mta"}}}}},
|
||||
{Image: "golang:1", WorkingDir: "/go", Conditions: []config.Condition{{ConditionRef: "strings-equal", Params: []config.Param{{Name: "buildTool", Value: "golang"}}}}},
|
||||
{Image: "hseeberger/scala-sbt:8u181_2.12.8_1.2.8", WorkingDir: "/tmp", Conditions: []config.Condition{{ConditionRef: "strings-equal", Params: []config.Param{{Name: "buildTool", Value: "sbt"}}}}},
|
||||
{Image: "maven:3.5-jdk-8", WorkingDir: "/tmp", Conditions: []config.Condition{{ConditionRef: "strings-equal", Params: []config.Param{{Name: "buildTool", Value: "maven"}}}}},
|
||||
|
@ -10,7 +10,7 @@ import (
|
||||
func TestMavenProject(t *testing.T) {
|
||||
t.Parallel()
|
||||
container := givenThisContainer(t, IntegrationTestDockerExecRunnerBundle{
|
||||
Image: "devxci/mbtci:latest",
|
||||
Image: "devxci/mbtci:1.0.16.1",
|
||||
User: "root",
|
||||
TestDir: []string{"testdata", "TestMtaIntegration", "maven"},
|
||||
})
|
||||
@ -29,7 +29,7 @@ func TestMavenProject(t *testing.T) {
|
||||
func TestMavenSpringProject(t *testing.T) {
|
||||
t.Parallel()
|
||||
container := givenThisContainer(t, IntegrationTestDockerExecRunnerBundle{
|
||||
Image: "devxci/mbtci:latest",
|
||||
Image: "devxci/mbtci:1.0.16.1",
|
||||
User: "root",
|
||||
TestDir: []string{"testdata", "TestMtaIntegration", "maven-spring"},
|
||||
})
|
||||
@ -49,7 +49,7 @@ func TestMavenSpringProject(t *testing.T) {
|
||||
func TestNPMProject(t *testing.T) {
|
||||
t.Parallel()
|
||||
container := givenThisContainer(t, IntegrationTestDockerExecRunnerBundle{
|
||||
Image: "devxci/mbtci:latest",
|
||||
Image: "devxci/mbtci:1.0.16.1",
|
||||
User: "root",
|
||||
TestDir: []string{"testdata", "TestMtaIntegration", "npm"},
|
||||
})
|
||||
@ -65,7 +65,7 @@ func TestNPMProject(t *testing.T) {
|
||||
func TestNPMProjectInstallsDevDependencies(t *testing.T) {
|
||||
t.Parallel()
|
||||
container := givenThisContainer(t, IntegrationTestDockerExecRunnerBundle{
|
||||
Image: "devxci/mbtci:latest",
|
||||
Image: "devxci/mbtci:1.0.16.1",
|
||||
User: "root",
|
||||
TestDir: []string{"testdata", "TestMtaIntegration", "npm-install-dev-dependencies"},
|
||||
})
|
||||
|
@ -1,3 +1,3 @@
|
||||
FROM devxci/mbtci:1.0.14
|
||||
FROM devxci/mbtci:1.0.16.1
|
||||
|
||||
COPY run-in-container.sh /test.sh
|
||||
|
@ -474,7 +474,7 @@ spec:
|
||||
value: dub
|
||||
- name: buildTool
|
||||
value: docker
|
||||
- image: devxci/mbtci:1.0.14
|
||||
- image: devxci/mbtci:1.0.16.1
|
||||
workingDir: /home/mta
|
||||
env: [ ]
|
||||
conditions:
|
||||
|
Loading…
x
Reference in New Issue
Block a user