Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Viliam Dzupin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events