Skip to content

Commit

Permalink
Cleanup Jenkinsfile to use Makefile (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
zendern committed Oct 8, 2020
1 parent d0e4e15 commit c8b9311
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@ dockerizedBuildPipeline(
},
buildAndTest: {
sh '''
go mod download
go mod tidy
go get -u github.com/jstemmer/go-junit-report
go test ./... -v 2>&1 -p=1 | go-junit-report > test-results.xml
CGO_ENABLED=0 GOOS=linux go build -o nancy .
make deps
make test | go-junit-report > $TEST_RESULTS/gotest/report.xml
make build
'''
},
vulnerabilityScan: {
Expand Down

0 comments on commit c8b9311

Please sign in to comment.