I'm getting this fatal issue and need to know how to resolve it:
My shell script is as follows which works locally but not remotely:
echo "named DIR as $DIR"
[[ -d ""$DIR"" ]]
echo "if $DIR directory exists"
echo "$DIR exists on your filesystem."
rm -rf $DIR
until [ "$(echo "$DIR/"*)" = "$DIR/*" ]; do
echo "now '$DIR' directory has been removed."
git rm -r $DIR
echo "now '$DIR' directory has been removed from git local repository else erroring
'already exists in the index'."
git submodule add --force https://bitbucket.org/nchteamnch/proto/src/master/
Bitbucket pipeline log:
Cloning into '/opt/atlassian/pipelines/agent/build/master'...
fatal: could not read Username for 'https://bitbucket.org': No such device or address
fatal: clone of 'https://bitbucket.org/nchteamnch/proto/src/master/' into submodule path '/opt/atlassian/pipelines/agent/build/master' failed
Hello all! It has been 20 years since the agile manifesto was introduced, and closer to 40 years since software development began moving away from a waterfall-type approach. While many teams have ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events