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,359,885
Community Members
 
Community Events
168
Community Groups

jfrog: curl is missing

Edited

hello,

 how do i go about adding "curl" to the pipeline? I think the image (atlassian/pipelines-awscli) doesn't have the curl installed.

 

Is there a better way of building a docker and pushing it into Jfrog repo?

 

Thank you

 

Error:

Build setup19s
 pipe: jfrog/jfrog-setup-cli:1.0.0
 source ./jfrog-setup-cli.sh
 + source ./jfrog-setup-cli.sh

bash: curl: command not found

JFrog CLI downloaded failed.

 

minimum pipelines code:

 

image:
   name: atlassian/pipelines-awscli
definitions:
    push: &push
    name: Push to Jfrog
    script:
      - pipe: jfrog/jfrog-setup-cli:1.0.0
      - source ./jfrog-setup-cli.sh
      - jfrog rt ping
pipelines:
branches:
master:
- step: *push

1 answer

1 accepted

0 votes
Answer accepted

adding :

script:
- apk add curl

 

does it

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

3,452 views 3 10
Read article

Atlassian Community Events