I want to setup an example iOS project build/test through Jenkins

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

I want to setup an example iOS project build/test through Jenkins

manisha-2
Hi,

I want to set up a demo environment that showcases iOS build and test job CI pipeline using Jenkins. The Jobs will execute on macOS virtualized infrastructure (AWS like macOS private cloud) using Anka Build and it's Jenkins Plugin. 

Can someone suggest some sample project/Jenkins job setup for this? I am not a Jenkins configuration expert.

Thanks.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5c76ca15-443e-4d68-8ca2-3d7c8ca88c13%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: I want to setup an example iOS project build/test through Jenkins

Artur Szostak
I cannot provide a simple example, but I think the biggest issue here is the virtualisation side of things. What are you using? VirtualBox? VMware?
When we started a few years ago we went down the VirtualBox road running on MacMinis. This meant writing custom scripts to bring the VMs up in an automated way. After that it is just a matter of configuring a Jenkins node as usual, but using the custom script to actually launch the VM and SSH to it.
We have had moderate success with this. VirtualBox is not very scalable though, it becomes unstable.

In a future upgrade we are going to move to a VMware solution. Will reinstall the MacMinis with ESXi and use the Jenkins vSphere cloud plugin to have OSX VMs started on demand. We tested this kind of setup quite extensively and it seems to work better, but still need to roll out to full production.
For VMware you should note the following: only the Mac Pro is officially supported by VMware. Our tests show that ESXi does work on a MacMini however. But we had to make a crucial ESXi configuration change to make this stable. You need to change the VMkernel.Boot.preferVmklinux setting to true, e.g. run the following in the ESXi shell "esxcli system settings kernel set -s=preferVmklinux -v=TRUE".
There is also unfortunately still a 1-2% probability that the VM gets stuck when booting OSX. This appears to be a problem specific to the OSX operating system on ESXi, since I have not seen this when running Linux. We are planning to workaround this with a scripted timeout and killing the process.
It is possible that both these problems go away in the future when we get around to replacing our hardware with Mac Pros. Certainly the first issue should go away.

________________________________________
From: [hidden email] <[hidden email]> on behalf of [hidden email] <[hidden email]>
Sent: 12 July 2017 03:32:05
To: Jenkins Users
Subject: I want to setup an example iOS project build/test through Jenkins

Hi,

I want to set up a demo environment that showcases iOS build and test job CI pipeline using Jenkins. The Jobs will execute on macOS virtualized infrastructure (AWS like macOS private cloud) using Anka Build and it's Jenkins Plugin.

Can someone suggest some sample project/Jenkins job setup for this? I am not a Jenkins configuration expert.

Thanks.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]<mailto:[hidden email]>.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5c76ca15-443e-4d68-8ca2-3d7c8ca88c13%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/5c76ca15-443e-4d68-8ca2-3d7c8ca88c13%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/052bb17775d8409b9252a376c5ff818a%40partner.eso.org.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: I want to setup an example iOS project build/test through Jenkins

Artur Szostak
Hmm... I think I missed the mark with my answer. Was too quick too reply.
I see Anka is its own virtualisation stack built on bhyve/xhyve.
Sorry, ignore my previous answer.

________________________________________
From: [hidden email] <[hidden email]> on behalf of Artur Szostak <[hidden email]>
Sent: 12 July 2017 16:41:30
To: Jenkins Users
Subject: Re: I want to setup an example iOS project build/test through Jenkins

I cannot provide a simple example, but I think the biggest issue here is the virtualisation side of things. What are you using? VirtualBox? VMware?
When we started a few years ago we went down the VirtualBox road running on MacMinis. This meant writing custom scripts to bring the VMs up in an automated way. After that it is just a matter of configuring a Jenkins node as usual, but using the custom script to actually launch the VM and SSH to it.
We have had moderate success with this. VirtualBox is not very scalable though, it becomes unstable.

In a future upgrade we are going to move to a VMware solution. Will reinstall the MacMinis with ESXi and use the Jenkins vSphere cloud plugin to have OSX VMs started on demand. We tested this kind of setup quite extensively and it seems to work better, but still need to roll out to full production.
For VMware you should note the following: only the Mac Pro is officially supported by VMware. Our tests show that ESXi does work on a MacMini however. But we had to make a crucial ESXi configuration change to make this stable. You need to change the VMkernel.Boot.preferVmklinux setting to true, e.g. run the following in the ESXi shell "esxcli system settings kernel set -s=preferVmklinux -v=TRUE".
There is also unfortunately still a 1-2% probability that the VM gets stuck when booting OSX. This appears to be a problem specific to the OSX operating system on ESXi, since I have not seen this when running Linux. We are planning to workaround this with a scripted timeout and killing the process.
It is possible that both these problems go away in the future when we get around to replacing our hardware with Mac Pros. Certainly the first issue should go away.

________________________________________
From: [hidden email] <[hidden email]> on behalf of [hidden email] <[hidden email]>
Sent: 12 July 2017 03:32:05
To: Jenkins Users
Subject: I want to setup an example iOS project build/test through Jenkins

Hi,

I want to set up a demo environment that showcases iOS build and test job CI pipeline using Jenkins. The Jobs will execute on macOS virtualized infrastructure (AWS like macOS private cloud) using Anka Build and it's Jenkins Plugin.

Can someone suggest some sample project/Jenkins job setup for this? I am not a Jenkins configuration expert.

Thanks.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]<mailto:[hidden email]>.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5c76ca15-443e-4d68-8ca2-3d7c8ca88c13%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/5c76ca15-443e-4d68-8ca2-3d7c8ca88c13%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/052bb17775d8409b9252a376c5ff818a%40partner.eso.org.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9c20d1a907b14dbc86f9fd7f9982af4f%40partner.eso.org.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: I want to setup an example iOS project build/test through Jenkins

manisha-2
yes. Anka is native virtualization for macOS, specifically for iOS/macOS Ci infrastructure. It doesn't require removing macOS like ESXi does. Operates on top of macOS, as an application. Native host like performance. I am trying to setup an example demo setup with an iOS app and Jenkins. I have already setup the infrastructure and Anka Jenkins plugin. Just need to setup an iOS project in Jenkins.



On Wednesday, July 12, 2017 at 8:19:05 PM UTC+5:30, Artur Szostak wrote:
Hmm... I think I missed the mark with my answer. Was too quick too reply.
I see Anka is its own virtualisation stack built on bhyve/xhyve.
Sorry, ignore my previous answer.

________________________________________
From: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="VTSV_EOcBAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkins...@googlegroups.com <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="VTSV_EOcBAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkins...@googlegroups.com> on behalf of Artur Szostak <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="VTSV_EOcBAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">aszo...@...>
Sent: 12 July 2017 16:41:30
To: Jenkins Users
Subject: Re: I want to setup an example iOS project build/test through Jenkins

I cannot provide a simple example, but I think the biggest issue here is the virtualisation side of things. What are you using? VirtualBox? VMware?
When we started a few years ago we went down the VirtualBox road running on MacMinis. This meant writing custom scripts to bring the VMs up in an automated way. After that it is just a matter of configuring a Jenkins node as usual, but using the custom script to actually launch the VM and SSH to it.
We have had moderate success with this. VirtualBox is not very scalable though, it becomes unstable.

In a future upgrade we are going to move to a VMware solution. Will reinstall the MacMinis with ESXi and use the Jenkins vSphere cloud plugin to have OSX VMs started on demand. We tested this kind of setup quite extensively and it seems to work better, but still need to roll out to full production.
For VMware you should note the following: only the Mac Pro is officially supported by VMware. Our tests show that ESXi does work on a MacMini however. But we had to make a crucial ESXi configuration change to make this stable. You need to change the VMkernel.Boot.preferVmklinux setting to true, e.g. run the following in the ESXi shell "esxcli system settings kernel set -s=preferVmklinux -v=TRUE".
There is also unfortunately still a 1-2% probability that the VM gets stuck when booting OSX. This appears to be a problem specific to the OSX operating system on ESXi, since I have not seen this when running Linux. We are planning to workaround this with a scripted timeout and killing the process.
It is possible that both these problems go away in the future when we get around to replacing our hardware with Mac Pros. Certainly the first issue should go away.

________________________________________
From: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="VTSV_EOcBAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkins...@googlegroups.com <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="VTSV_EOcBAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkins...@googlegroups.com> on behalf of <a href="javascript:" target="_blank" gdf-obfuscated-mailto="VTSV_EOcBAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">man...@... <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="VTSV_EOcBAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">man...@...>
Sent: 12 July 2017 03:32:05
To: Jenkins Users
Subject: I want to setup an example iOS project build/test through Jenkins

Hi,

I want to set up a demo environment that showcases iOS build and test job CI pipeline using Jenkins. The Jobs will execute on macOS virtualized infrastructure (AWS like macOS private cloud) using Anka Build and it's Jenkins Plugin.

Can someone suggest some sample project/Jenkins job setup for this? I am not a Jenkins configuration expert.

Thanks.


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/4807db45-2cc3-40b4-b0d6-4c5498a39038%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...