How to setup my Mac machine as slave to existing Jenkins Master and run iOS builds from master onto slave Once code pushed or Pull request raised for the same on GitHub

0 votes
How to set up my Mac machine as a slave to existing Jenkins Master and run iOS builds from master onto slave (Once code pushed or Pull request raised for the same on GitHub).

I am accessing Jenkins Master with VPN and wanted to set up my Mac machine (connected with the same VPN ) to be work for creating iOS builds for CI/CD purposes.

And Does it require my Mac machine to be ON always?

Does this require to create a new user for the Jenkins slave setup on my Mac machine?
Sep 10, 2020 in Jenkins by anonymous
• 120 points

recategorized Sep 10, 2020 by MD 6,744 views

1 answer to this question.

0 votes

Hi,

You can add your Mac system as a Jenkins Slave. For that, you can find lots of documents. You can follow the below document to do that same.

https://parsed.io/setup-a-mac-slave-for-jenkins

Now it is very obvious that your machine should always be ON. Otherwise, you can't use that system. For making a slave you don't require any new user. Just set up your Jenkins slave and it will work.

answered Sep 10, 2020 by MD
• 95,460 points
Thanks MD. I will check the link and let you know if I found any difficulty.

tysm.
Hi Nadeem. I am having some doubts here

Is is required to install and setup jenkins dashboard on my mac machine also ??

In the 2nd step ( https://parsed.io/setup-a-mac-slave-for-jenkins#basic-mac-setup )

1-  it is mentioned that create user jenkins.

So is the new user creation is required on my Mac machine ?

2- It is written that "Go into Jenkins -> Manage Jenkins -> Manage Nodes Click on the node you just created"

So would I have to go to remote Jenkins Master dashboard (which I visit always in browser)  OR I have to set this up on my installed jenkins (on my Mac) ??

3- It is written that "Click Launch to connect to Jenkins as a slave"

So this is also to be clicked at my Jenkins instance (i.e. on my Mac machine's jenkins)

Kindly revert.

Thanks
Hi@vivek,

You have to configure your node in Jenkins Master. In your Mac system, you should have Java installed. You will get one command when you configure your node in Jenkins master. You need to run that in your Mac system.

So installing Jenkins on my Mac machine (system which is going to be used as slave to create iOS builds ) is not required ??

And every configuration regarding the GitHub repo setup, webhook listener, would be done on Master jenkins side ??

Hi@Vivek,

Yes, you don't have to install Jenkins in your slave system. Just configure your slave node. If you have successfully configured your slave, you can see your slave in the Master node. Everything you have to manage from Jenkins Master.

Related Questions In Jenkins

0 votes
1 answer

how to create a job using jenkins for Sign the puppet certificate on master ?

Take a look at this  https://fullstack-puppet-docs.readthedoc ...READ MORE

answered May 29, 2020 in Jenkins by Sirajul
• 59,230 points
1,136 views
0 votes
1 answer

How do I pass value from my Fake # script to the host build server (Jenkins)

You can use the EnvInject plugin to pass environment ...READ MORE

answered Jul 11, 2018 in Jenkins by Kalgi
• 2,680 points
1,362 views
+5 votes
7 answers

Docker swarm vs kubernetes

Swarm is easy handling while kn8 is ...READ MORE

answered Aug 27, 2018 in Docker by Mahesh Ajmeria
3,924 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,034 views
+1 vote
3 answers

How to auto build a job in jenkins if there is any change in code on Github repository?

To automatically run build on code commit, follow ...READ MORE

answered Jul 31, 2019 in Jenkins by Sirajul
• 59,230 points
78,757 views
0 votes
1 answer

is there a way how to finish in-progress slave builds if Jenkins master goes offline

Hi@, You can assign your Jenkins Job to ...READ MORE

answered Jun 30, 2020 in Jenkins by MD
• 95,460 points
3,690 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP