Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Pre-Post Build Command Runner plugin curl fail

I have installed https://marketplace.atlassian.com/plugins/com.sysbliss.bamboo.plugins.prepost-build-command

I added a command "curl ..."

But I get a error in the log output :

simple 16-May-2015 22:48:00 [BuildCommandRunner] running command: curl .... 
error 16-May-2015 22:48:00 Unable to find executable at curl. Will try to run it anyway. 

So I added an Executable via /admin/agent/viewBuilders.action

Named "curl", path "curl".

That didn't work, so I tried the linux path "/usr/bin/curl", that didn't work either.

 

Is the problem with the addon not finding the exec, or the exec?

2 answers

1 accepted

2 votes
Answer accepted

Use the full path to curl in prepost-build-command plugin.

Cheers, I actually worked it out by process of elimination, but still a valid post I think in case others run into this problem.

@Krystian Brazulewicz  can you explain in detail where the add the full path ?

Hello @Kazi Rizwan ,

The full path is required on the field "Commands" in the plugin:

CleanShot 2020-09-17 at 10.32.20@2x.png

In the case of curl, you would not insert `curl` but the full path `/usr/bin/curl`

I hope that helped :)

Like Steffen Opel _Utoolity_ likes this
0 votes

Hello Ian,

Please check that curl executable is available at Bamboo server or agent machine via command line.

Create Script task with curl command to identify if issue is at Bamboo or plugin side.

Suggest an answer

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

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

50 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you