Build ios .ipa using jenkins and fastlane (host ubuntu) - ios

any idea if it is possible to generate .ipa (ios app ) with jenkins installed on ubuntu machine.
If it is a NO (and i think its)
any other solution guys
i saw travis but it doesn't support bitbucket
I tried circleCi but you need to pay if you want a suuport for ios

so the only solution i find it is to use the distributed arch of jenkins , that means :
I will install a Jenkins master on my Ubuntu machine and another slave node on a mac machine and give it the access so i can build my own ipa every time there is triggers on my repo.

Related

Update jenkins war on one machine and then move it to another one: possible?

I have a machine with blocked outgoing connections so it is not possible to update jenkins nor install the plugins I need for my work.
My idea is the following: I download the jenkins .war on my personal laptop and complete the installation + the plugin download.
Then I just move this .war to the machine where I need jenkins to be up and running.
Is it possible? Where are the plugins/updated data stored?
Also, would it be a problem the fact that my laptop has windows as os, while the destination machine is a linux RHEL?
Your solution sounds crazy :D
This could be help you:
Update Jenkins war
If you have shell access with root privilege, there is a manual way.
Download latest war file inside your linux, using wget , curl or just upload it using winscp from your windows.
Stop jenkins
Backup EVERYTHING: linux snapshot, jenkins workspace, jenkins war file, etc
Replace the old war with new war
Start jenkins
Detailed steps in this webs:
https://mohitgoyal.co/2017/02/15/upgrade-jenkins-server-to-a-new-version/
https://www.thegeekstuff.com/2016/06/upgrade-jenkins-and-plugins/
Plugin
Jenkins has an option to install plugins called Manage Plugins
This offer two options :
(1) Install plugins using available option
For official and compatible plugins, suggested by Jenkins :
(2) Install plugins using upload option
For custom plugins or when is not available on official repositories:

Continuous Integration with hybrid mobile app

I have a problem. I need to build a job in my Jenkins server hosted by macmini (localhost) to automatic build a deploy for my mobile hybrid apps. That's apps was building with ionic2, and need a deploy for Android (apk) and for iOS (ipa).
But when i run a build from Jenkins, with this shell command
I get this error
that's not all... because i try to execute, from the jenkins folder, the npm i and the result was this:
When i try to build my application from other "folder" and not from jenkins, they works correctly. How i can solve?
Without more information hard to say; you can either just script the things you do when you deploy "manually", or you might want to try a CLI tool like https://www.bitrise.io/cli or https://fastlane.tools which can auto-scan your project and configure a suitable configuration which is then easier to tweak.
In case of Bitrise CLI the base config can be generated with bitrise init in the repo root, and you can also use a visual editor to modify your configuration: https://discuss.bitrise.io/t/how-to-experiment-with-bitrise-configs-locally-on-your-mac-linux/1751
After a lot of time, just find the solution. Jenkins have a own "tools management". So i need to install, into jenkins, a property version of nodeJS, Npm and all other tools i need to deploy the application.
So, first of all you need to install property plugin (in my case nodejs).
After this, going into Jenkins Management System and configure a NodeJS version. That's all

Gitlab CD for iOS on server

I'm trying to create Continuous Deployment pipeline for an iOS project with Gitlab tools.
It's suggested to use own mac in order to run tests and Archive in this tutorial.
So, there, probably, should be a way to create runner on a server, not on own machine, right? Because otherwise the owner of the Apple distribution signature would be the onlyone who can trigger deployment process.

How to configure IOS jobs in linux jenkins?

I want to configure IOS project jobs in linux jenkins. Is it possible to configure IOS jobs in Linux Jenkins, without OSX PC.
You need to have a OSX machine running. It's a matter of licensing (same problem appears for Visual Studio). But there is an XCode Plugin to help you with it Jenkins Xcode Plugin.
edit:
there are several tutorials out there on how to give jenkins an iOS-build slave (check out one).

How to upload files and folders to jenkins server

I have created a jenkins server in Mac OS X, and have iOS application project files in windows machine(not configured anything in windows machine) here want to achieve the below points.
Have to upload the iOS application projects into mac os x jenkins
server
Create a job for that uploaded project
have to build that project.
download the package files into windows machine
is this possible to achieve using jenkins framework?.
yes it is possible
the easiest way is to:
use git to upload project from windows to some git server (ex. github.com or your own installation on OsX machine)
configure jenkins job to use git repository you've created and add proper build step
use 'Publish Over CIFS' plugin to push build result to windows share

Resources