Local to Online workflow

Hello everyone :slight_smile:

I am using Bitrise to make an iOS app but with a particular workflow since building my app takes a while (~20min):

  • The app is built on a Linux machine locally
  • The last step of my local workflow is to upload the artifact (the Xcode project) to Bitrise.io
    // I’m blocked here
  • The online workflow starts on an Online mac machine: from the previous artifacts it generates the xarchive
  • The archive is signed and exported as ipa then uploaded on S3

I can’t find a step to reuse the artifact of a previously made build,
Any idea how I can achieve this?

Thank you :blush:

1 Like

Hi @wpinaud,

So, the only question is

I can’t find a step to reuse the artifact of a previously made build,
Any idea how I can achieve this?

right? Or is there something else?

For accessing previous builds’ artifacts: we just finished the related API endpoints recently: Bitrise.io API v0.1 (Work In Progress) / docs: http://devcenter.bitrise.io/api/v0.1/#get-appsapp-slugbuildsbuild-slugartifacts

It should definitely be possible now to get a previous build’s artifact through the API, but you might have to write quite some code for it; although it might not be possible to do it easier, as “previous build” might mean quite a few things, depending on the project, e.g. previous by build number, or previous on the same branch, previous using the same workflow, …

If you have any questions just let us know, we’re happy to discuss more about this and might even worth a #feature-request topic eventually :slight_smile: