jenkinsci / fabric-beta-publisher-plugin

DEPRECATED: A Jenkins plugin that lets you publish Android apps to Fabric Beta
MIT License
24 stars 17 forks source link

Unable to interpolate environment variable on Windows #11

Open andrewtoth opened 7 years ago

andrewtoth commented 7 years ago

I get this error:

Caused by: com.crashlytics.tools.android.exception.DistributionException: Crashlytics halted compilation because it can't find the specified file: C:\Program Files (x86)\Jenkins\workspace\Android-Staging-Preview\app\build\outputs\apk\app-staging-debug-v%PLAY_BUILD_NUMBER%.apk

PLAY_BUILD_NUMBER is properly interpolated in the build step bash scripts, but not when uploading through this plugin. I've also tried %{PLAY_BUILD_NUMBER}, $PLAY_BUILD_NUMBER and ${PLAY_BUILD_NUMBER}.