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

androidApkMove not moving Release Notes between Tracks

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I've just finished adding and implementing the Google Play Android Publisher plugin for Jenkins for both uploading APKs and moving them between tracks in the Google Play Console.

      I'm using Version 1.8 of the plugin.

      The Uploading is working flawlessly and is even putting my Release Notes for the specified languages into Google Play correctly, by using this:

      def getDeployNotes() {
          return [language: 'en-US', text: "${env.DEPLOY_NOTES}"]
      }
                                      
      androidApkUpload
          googleCredentialsId: signingCredential,
          apkFilesPattern: "app/build/outputs/apk/${variant.flavor}/${variant.type}/*.apk",
          deobfuscationFilesPattern: "app/build/outputs/mapping/${variant.flavor}/${variant.type}/mapping.txt",
          trackName: 'alpha',
          recentChangeList: [getDeployNotes()]
      

      It produces this result in the Alpha Track in the Play Console (Note the "Here are some deploy notes, let's see if they persist during APK Move.")

      Now, to Move the APK between Tracks in the Play Console, I use "androidApkMove" like so

      androidApkMove
          applicationId: release.packageName,
          fromVersionCode: true,
          googleCredentialsId: release.googleCredentialsId,
          rolloutPercentage: env.ROLLOUT_PERCENTAGE,
          trackName: env.TO_TRACK,
          versionCodes: env.VERSION_NUMBER
      

      Which produces this result in the Beta Track in the Play Console (Note there are no release notes)

      I'm at a loss as to what to do here and I've read through the documentation for the plugin, but I've yet to find anything. Should this be working or is this a known bug?

        Attachments

          Activity

          Hide
          dathornton David T added a comment -

          Christopher Orr Any chance this can be looked at? It's a pretty major thing that is missing.

          Show
          dathornton David T added a comment - Christopher Orr Any chance this can be looked at? It's a pretty major thing that is missing.
          Hide
          orrc Christopher Orr added a comment -

          Copying over the release notes isn't done automatically by Google Play when promoting existing files to another release track (unlike in the web UI).

          So we now search for an existing track that contains one of the versionCodes we want to move, and apply its associated release notes, if any, to the new track.

          Show
          orrc Christopher Orr added a comment - Copying over the release notes isn't done automatically by Google Play when promoting existing files to another release track (unlike in the web UI). So we now search for an existing track that contains one of the versionCodes we want to move, and apply its associated release notes, if any, to the new track.
          Hide
          orrc Christopher Orr added a comment -

          Version 4.0 of the plugin has been released, which includes these changes.

          Show
          orrc Christopher Orr added a comment - Version 4.0 of the plugin has been released, which includes these changes.

            People

            Assignee:
            orrc Christopher Orr
            Reporter:
            dathornton David T
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: