The authenticity of the host bitbucket cant be established


I have a gradle task :

task tagRepo << {
def gitTagName = ‘a4’
def gitTagMessage = ‘This s a new tag’
def gitUserName = ‘uname’
def gitPassword = ‘password’
def credentials = new org.ajoberstar.grgit.Credentials(gitUserName, gitPassword)

def grgit = org.ajoberstar.grgit.Grgit.open(dir: project.rootDir.absolutePath, creds: credentials)

def remotes = grgit.remote.list()
logger.info('git remotes size - ’ + remotes.size())
logger.info('git remotes - ’ + remotes)

def central = remotes.find { it.name == ‘central’ }
if (!central) {

grgit.remote.add(name: 'central', url: gitRepoLocation)

}

grgit.tag.add(name: gitTagName, message: gitTagMessage)
grgit.push(remote: ‘central’, tags: true)
}

I run this task : gradlew tagRepo --i I get this output(attached)