It would be of great assistance. If someone assist me why sometimes Bamboo Agent doesn't pick up the commands like Pod, xcpretty, figlet etc..,
Thanks a lot for your reply Jean.
The problem is that sometimes it picks up and some times it doesnt.
Kindly See the screenshot for more information.
Let's say for the very first time after the configuration of the agent it picks up all the commands properly and after some time it doesn't .
Its very weird.
To add to your point:
I print my path : echo $PATH
It prints the
Where it went and checked whether all the commands are there. Its there.
I'm quite not sure where should I need to update .
It would be of great assistance, if there are some pointers.
The screenshot you sent shows that your script is calling your commands/tools (figlet, pod, ...) but the shell cannot find them in the environment.
I suggest you try the following:
(1) Use the absolute paths for each tool that you are calling in your script. To find the absolute path for "figlet", you can run the command which figlet. You should be able to then update your script using the results that the which command returns for every tool.
(2) Ensure the environment has the correct path to the tools in the $PATH variable. Using the same which command above, you can verify where the tool is located and update the $PATH variable to point to the location of your tools (if needed).
Hope that helps!
Thanks a lot Jean. I have updated my scripts to the absolute paths. As of now No problem.
But I wonder why it succeeds sometimes and some times it doesn't.
I have my .bash_profile under the home user when I print, it does shows the following path.
/usr/libexec:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin where I can see all sh files.
why it happens.
As of now, the absolute path seems to have given the fix.
-Thanks and Regards,
Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...