I am using jenkins for auto build and auto deploy. Till now I successfully achieved build generation (i.e .ipa file). I also achieved diawi link generation.
Now I want to upload .ipa to testflight via jenkins. Right now I am using this script for uplaod,
ipa distribute:itunesconnect \
—-file "${WORKSPACE}/build/upload.ipa" \
—-account yourappleid@gmail.com \
-p Y0urPa55w0rd \
—-apple-id 1234567890 —-upload —-verbose
but jenkins gives me error given below,
*** Error: Unable to validate your application. Unable to read password from stdin.
What's wrong in this script OR any other script will be used for upload. So, please anyone can help me to upload an .ipa to testflight via jenkins.