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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

1 vote
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 :)

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 7.2 is here!

I'm happy to announce that Bamboo 7.2 has been released and it’s overflowing with awesome new features. This will be the last major Server release before the launch of Bamboo DC. Bamboo logs We...

534 views 6 7
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