I have a cmd I am running from my plugin, bit it cannot be found.
It runs fine on the cmd line, and the Windows Path is pointing to where
the cmd is.
Does BitBucket change the PATH env variable at startup (service)?
If so, what file is this set in.
Why can't it find my executable?
Bitbucket, like most services, doesn't use the user's environment on the server because that can be change, it uses an environment built for it as part of the start up scripts.
If you want to run an arbitrary command in your add-on, your add-on needs to explicitly state where the command is (unless it's embedded in the environment the Bitbucket startup creates)
Check the service settings and the .bat scripts in <bitbucket home>/bin and <bitbucket install>/bin
ok thanks, using the whole path to the exe works ok. I can live
I have a follow up question.
In my plugin I create a tmp directory in which files are copied
into it. Once I am done with it I delete the files. I consistently get access denied when I try to copy the files from within my plugin.
I can create the tmp directory ok, but no matter where I create
this directory I get access denied.
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
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!
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot