Unable to upload the apk file to google play store from jenkins job

When i was trying to upload the apk file from Jenkins job
I was getting internal error encountered and i was unable to upload the apk file in to the goole play console.
Here to generate the apk we’re using gradle project in jenkins job.

Hi there,

“it doesn’t work” is always hard to remote debug. Try to always include these 3 things.

  1. what did you try? (Code samples, command lines, screenshots, videos, etc)
  2. what did happen? (Error messages, description, outputs, stuff)
  3. what did you expect to happen?

Otherwise, it’s hard for us to get into your context and you’ll have to have someone who is exactly knowledgeable come along.

This is the error, i was getting.
I have generated apk file from jenkins job (free style project) i was able to create the signed apk also but when i was trying to upload in google play console getting above error.

Internal error seems like its either something inside the plugin, or google responding badly. Have you checked your jenkins log, and/or any open issues for the plugin?

In the console output getting internal error encountered like this

When i have verified the system logs in jenkins ui i didn’t get the any type of logs for this taks

What do you use to publish to Google Play Store?
I use Gradle Play Publisher.

I was using google play android publisher, i was able to upload in to the internal app sharing track, but i was unable to do in to the alpha or internal tracks, can you please help me on that, Thank you.