I have a pipeline which does the following:
+ source .envs
bash: bg: no job control
Hey Christian,
Welcome to the Bitbucket Cloud community!
I notice that you are calling the .envs file using the source command, this means that the .envs file is executed by bash.
You may need to add the following line at the beginning of the .envs file to prevent this error message:
#! /bin/bash
set -m
There is a thread I have located on StackOverflow that explains this a little more:
https://stackoverflow.com/questions/11821378/what-does-bashno-job-control-in-this-shell-mean
Hope this helps.
Cheers!
- Ben (Bitbucket Cloud Support)
Dear Ben,
Thanks for your reply. I had found this link also.
Seems like some vars, when doing this, don't get sourced to the new bash. I don't know why. I will have to investigate further, probably some issue with the chars not being properly escaped I guess.
I will try further and report back.
Chris
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.