Skip to content

Commit

Permalink
detectExecuteScan - switch off phone home (#1582)
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverNocon authored May 25, 2020
1 parent a9bf975 commit f927710
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/detectExecuteScan.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package cmd

import (
"fmt"
sliceUtils "github.com/SAP/jenkins-library/pkg/piperutils"
"strings"

sliceUtils "github.com/SAP/jenkins-library/pkg/piperutils"

"github.com/SAP/jenkins-library/pkg/command"
"github.com/SAP/jenkins-library/pkg/log"
"github.com/SAP/jenkins-library/pkg/telemetry"
Expand All @@ -26,6 +27,7 @@ func runDetect(config detectExecuteScanOptions, command shellRunner) {
script := strings.Join(args, " ")

command.SetDir(".")
command.SetEnv([]string{"BLACKDUCK_SKIP_PHONE_HOME=true"})

err := command.RunShell("/bin/bash", script)
if err != nil {
Expand Down

0 comments on commit f927710

Please sign in to comment.