Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

dotnet image and curl missing - integration with SonarQube - bitbucket pipeline

Viliam Dzupin August 17, 2018

We are running dotnet build which is working fine. However, when trying to add another step with integration to sonarQube, then it fails with the curl missing.

I was wondering how to solve this problem - whether I can in each step define different image or install curl?

This is our  bitbucket-pipelines.yaml:

 

image: microsoft/dotnet:2.1.300-sdk-alpine

pipelines:
default:
- step:
caches:
- dotnetcore
- dotnet restore
- dotnet build


# sonar update
- step:

script:
- apt-get update && apt-get install -y unzip git curl
- curl --insecure -OL https://sonarsource.bintray.com/Distribution/sonar-scanner-cli/sonar-scanner-2.8.zip

fails here with information curl is not found.

 

Any help is appreciated. I'm new in this area. Thanks a lot

 

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events