Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,367,534
Community Members
 
Community Events
168
Community Groups

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

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

Atlassian Community Events