The curl command it's not working ..... do you have a true example ?
Hi,
We found the solution....
Please change the documentation....
Replace all single quote by double quotes and add Backslash for the JSON file
The command line for CURL must be :
curl -v -H "Content-Type: application/json" -XPUT \
d "{\"next\": \"1000\" }" \
--user "USERNAME:PASSWORD" \
"https://api.bitbucket.org/2.0/repositories/USERNAME/REPONAME/pipelines_config/build_number"
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.