Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-47180

Jenkins Job still show 'Green' even the application not uploaded successfully.

XMLWordPrintable

      General Description:

      The corresponding jenkins job still show 'Green' even the application not uploaded successfully.

      Steps to reproduce:

      1. Login Jenkins and update the plugin for automation script execution.
      2. Configure Jenkins to add MC Server(no-SSL)
      3. Configure the specific job to select the added MC server in step 2
      4. 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
       

            janezhang Jane Zhang
            chyongju Mia Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: