-
Bug
-
Resolution: Fixed
-
Major
General Description:
The corresponding jenkins job still show 'Green' even the application not uploaded successfully.
Steps to reproduce:
- Login Jenkins and update the plugin for automation script execution.
- Configure Jenkins to add MC Server(no-SSL)
- Configure the specific job to select the added MC server in step 2
- Start this jenkins job, to upload an injected application(this application is injected the incorrect version of MC Enabler).
Expected: Failed to upload this application, and the Job shows failure (RED).
Actual: Failed to upload this application, but the job still shows GREEN, then check the 'Console Output', it shows the error ''
{"data":null,"messageCode":2803,"message":"The application cant be uploaded because it was packaged using an incorrect version of MC Enabler. Contact your administrator.","error":true}
Full Output Message:
[EnvInject] - Loading node environment variables.
Building on master in workspace C:\Program Files (x86)\Jenkins\jobs\MC-Jenkins-Plugin-5.3-Upload-Angry-Birds-INJECTED-Android-Application\workspace
There are 1 apps to be uploaded.
starting to upload app 1 C:\Jenkins Plugin (Mia)\Apps\angry_birds_INJECTED.apk
uploaded app info: {"data":null,"messageCode":2803,"message":"The application cant be uploaded because it was packaged using an incorrect version of MC Enabler. Contact your administrator.","error":true}
Finished: SUCCESS