[aerogear-dev] [ag-digger] fastlane as the default build tool for digger-jenkins

Leonardo Rossetti lrossett at redhat.com
Fri Sep 29 06:09:07 EDT 2017


Hello,

I have created a PR against digger-jenkins with fastlane samples for both
ios and android: https://github.com/aerogear/digger-jenkins/pull/77

You will notice that fastlane can replace both build and codesign logic
from our Jenkinsfiles and this approach has some advantages:

   - easier to test it locally without jenkins (just run fastlane commands).
   - more flexibility since it is just a  couple of ruby scripts.
   - fastlane actions can be distributed as ruby gem packages in the future.
   - fastlane has several community plugins, which is easier to install
   within the jenkinsfile using the gem command if needed.

Currently, we can't sign our binaries with fastlane because of how our
plugins (android signing and xcode) handle jenkins certificates and
developer profile files.

I was thinking if we could create a jenkins plugin to properly handle
credentials using the "withCredentials" pipeline function
<https://jenkins.io/doc/pipeline/steps/credentials-binding/> so we could
keep the main build/sign logic in fastlane actions while we keep specific
jenkins tasks such as handling credentials, archiving the artifact, etc in
the jenkisfile.

WDYT?
-- 

LEONARDO ROSSETTI

SOFTWARE ENGINEER

Red Hat SP <https://www.redhat.com/>

lrossett at redhat.com    M: 11997030621
<https://red.ht/sig>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20170929/0af6d681/attachment.html 


More information about the aerogear-dev mailing list