In Bamboo job I run a perl script using a script task.
The name of the (perl) script is entered in the field "Script file", "Interpreter" is set to "Shell".
In the perl script another (shell) script is called that does not have the same environment than the perl script but a new one. Shell variables set in the perl script are not known in the called shell script.
What is to do to inherit the environment variables from the perl script to the shell script?