perforce trigger implementation failing

i have introduced a trigger to my perforce testing server in order to have each commit replicated on fisheye. The trigger seems doing nothing but it's not failing. No logs exist anywhere to understand if anything is wrongly written:

My trigger:

Fisheyetrigger change-commit //depot/... "/usr/local/bin/curl -s -o /dev/null -X POST -H X-Api-Key:MY_API_KEY -m 20 http://host:port/rest-service-fecru/admin/repositories-v1/Perforce-Zeke/scan"

where the key was provided by the admins and the host and port are replaced correctly.

Am i doing anything wrong?

1 answer

Is it actually getting run by Perforce server? What happens when you run it manually (without -o /dev/null)?

Suggest an answer

Log in or Join to answer
Community showcase
Alexey Matveev
Published Saturday in Jira

How to run Jira in a docker container

Everything below is tested on Ubuntu 17.10. I prefer to use Jira in a docker container because: 1. I can install Jira with a couple of commands. 2. I can start and stop Jira just by starting and s...

89 views 2 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot