Uploaded image for project: 'Nuxeo Mobile'
  1. Nuxeo Mobile
  2. NXMOB-220

Use Pipeline to refactor iOS deployment jobs

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: iOS 1.6, Android 1.3
    • Component/s: Android, iOS

      Description

      Let's refactor deploy-nuxeo-mobile-ios to:

      • Split it into 2 jobs: deploy-nuxeo-mobile-ios-testflight and deploy-nuxeo-mobile-ios-appstore. That will be clearer as the first one should be an automatic job triggered on push every time the master branch is merged into the release-ios branch, and the second one should be launched manually.
      • Use Pipeline to experiment it on these quite simple jobs.

      Using Groovy will probably simplify statements such as:

      • deploy-nuxeo-mobile-ios-testflight must only perform the deployment if the commit message doesn't contain "Release", which is currently done with the Conditional steps plugin.
      • deploy-nuxeo-mobile-ios-appstore cannot be launched if deploy-nuxeo-mobile-ios-testflight isn't blue.

      Here are some interesting links about Pipeline:

      Note about using a Jenkinsfile: the problem right now is that Jenkins will do a first checkout from SCM to get the Jenkinsfile, then the Pipeline script itself will do another checkout of the same repository to perform the job tasks, that's not optimized.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: