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 folks, This is a series of articles where I explain GitHub Script with GitHub Actions and how you can automate publishing data on Atlassian & GitHub Platform based on the results of Workf...
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