This question is in reference to Atlassian Documentation: Run pipelines manually
I can not get manual steps to appear at all. I've followed the examples to the letter, but no joy.
pipelines: custom: # Pipelines that are triggered manually sonar: - step: script: - echo "Manual triggers for Sonar are awesome!" deployment-to-prod: - step: script: - echo "Manual triggers for deployments are awesome!" branches: # Pipelines that run automatically on a commit to a branch staging: - step: script: - echo "Automated pipelines are cool too."
Any idea what I'm doing wrong ?
Hi Craig,
I didn't get it working... still waiting on a solution. Hopefully Atlassian will fix this issue soon as it seems fundamental to their CI as a pipeline offering. If they do come back with a solution, please post
In the mean time I've switched my CI over to gitlab running as a docker image which works in pretty much the same way, and allows you to define and run manual steps. (It took me about 30mins to setup!)
Hi Mark
Thanks for the response. I'll see where I get to with support. We use gitlab elsewhere in my company...might take a look into that too
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Just to follow this up -
Atlassian resolved this - It seems I had an old version (connector descriptor) - guess thats something internal to Bitbucket and it wasn’t showing the custom builds properly. Their developers manually upgrade it within my account. It's working really well now.
C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yaroslav, I can get default steps working fine (which is what your file does). It's the manual/custom steps which do not work as per the documentation:
pipelines: custom: # According to the docs these should appear as manual steps against commit hashes sonar: - step: script: - echo "Manual triggers for Sonar are awesome!"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark
Did you resolve this ? I've the same issue which I'm currently trying to resolve with Atlassian support. Be interested if you know the fix
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I really don't kow what is going wrong here, but I have an exmple file which works for me.
What I'm doing there is (after project is pulled by Bitbucket code) pulling additional libraries and submodules and starting the build process.
Hope it will help you. If you will have questions about that file I could answer as I had few of such files with different configs.
P.S. I'm using the custom docker image in there (the first line) and you're using the default here, but it shouldn't be a problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.