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:
#!/bin/sh
DIR=master
echo "named DIR as $DIR"
if
[[ -d ""$DIR"" ]]
echo "if $DIR directory exists"
then
echo "$DIR exists on your filesystem."
rm -rf $DIR
until [ "$(echo "$DIR/"*)" = "$DIR/*" ]; do
sleep 2
done
echo "now '$DIR' directory has been removed."
fi
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.