Protractor Beginner Tutorial 15 | Protractor | Git | Jenkins integration

Protractor Beginner Tutorial 15 | Protractor | Git | Jenkins integration


Protractor Beginner Tutorial 15 | Protractor | Git | Jenkins integration

FREE Courses - https://automationstepbystep.com/
Today we will learn:
How to get project from GitHub on Jenkins

References
Protractor with Jenkins -    • Protractor Beginner Tutorials  

GitHub - https://github.com/Raghav-Pal/
Udemy - https://www.udemy.com/user/raghav-pal-3/
Training by Raghav at your venue - [email protected]
Training schedule - https://automationstepbystep.com/trai
----------- UI TESTING -----------
Selenium Beginners - https://bit.ly/2MGRS8K
Selenium Java Framework from Scratch - https://bit.ly/2N9xvR6
Selenium Python - https://bit.ly/2oyMp5x
Selenium Tips - https://bit.ly/2owxc50
Selenium Builder - https://bit.ly/2MKNtlq
Katalon Studio - https://bit.ly/2wARFdi
Robot Framework with RIDE- https://bit.ly/2Px6Ue9
Robot Framework with Eclipse - http://bit.ly/2N8DZxb
Protractor - http://bit.ly/2KtqVkU

----------- API TESTING -----------
Web Services (API) - https://bit.ly/2MGafL7
SoapUI - https://bit.ly/2MGahmd
Postman - https://bit.ly/2wz8LrW
General - https://bit.ly/2PYdwmV
Katalon Studio API Testing - https://bit.ly/2BwuCTN

----------- MOBILE TESTING -----------
Appium - https://bit.ly/2ZHFSGX
Mobile Playlist - https://bit.ly/2PxpeUv

----------- CI | CD | DEVOPS -----------
Jenkins Beginner - https://bit.ly/2MIn8EC
Jenkins Tips \u0026 Trick - https://bit.ly/2LRt6xC
Docker - https://bit.ly/2MInnzx

----------- VERSION CONTROL SYSTEM -----------
Git \u0026 GitHub - https://bit.ly/2Q1pagY

----------- PERFORMANCE TESTING -----------
JMeter Beginner - https://bit.ly/2oBbtIU
JMeter Intermediate - https://bit.ly/2oziNVB
JMeter Advanced - https://bit.ly/2Q22Y6a
JMeter Tips \u0026 Tricks - https://bit.ly/2NOfWD2
Performance Testing - https://bit.ly/2wEXbLS

----------- PROGRAMMING -----------
Java Beginners - https://bit.ly/2PVUcXs
Java Tips \u0026 Tricks - https://bit.ly/2CdcDnJ
GROOVY - https://bit.ly/2FvWV5C
JAVASCRIPT - http://bit.ly/2KJDZ8o

----------- IDE -----------
Visual Studio Code - https://bit.ly/2V15yvt

----------- MAVEN -----------
Maven - https://bit.ly/2NJdDRS

----------- OTHERS -----------
Redis- https://bit.ly/2N9jyCG
Misc - https://bit.ly/2Q2q5xQ
Tools \u0026 Tips - https://bit.ly/2oBfwoR
QnA Friday- https://bit.ly/2NgwGpw
Sunday Special - https://bit.ly/2wB23BO

Ask Raghav - https://bit.ly/2CoJGWf
Interviews - https://bit.ly/2NIPPxk
All Playlists - https://bit.ly/2LSiezA

Keep Learning,
Raghav

Website - https://automationstepbystep.com/
LifeCharger - http://lifecharger.org/
Udemy Courses - https://www.udemy.com/user/raghav-pal-3/
Facebook - https://www.facebook.com/automationst
Twitter - https://twitter.com/automationsbs
Youtube -    / automationstepbystep  
Instagram - https://www.instagram.com/automations

You can support my mission for education by sharing this knowledge and helping as many people as you can.


Content

9.25 -> Hello and welcome I'm Raghav And today we are going to learn how to integrate Jenkins
15.49 -> and get to run our protractor tests And I will go very basic step-by-step So if you
20.73 -> have no prior knowledge on this topic do not worry, I will start from scratch So I will
25.68 -> go on my Windows system and you can also follow this on Mac and here I have my Jenkins started
32.14 -> So just in case you do not know how I have started Jenkins I have also created a job
37.6 -> here You can watch the earlier session where I have discussed on how to run protractor
42.76 -> framework from Jenkins and I will also provide the link of that video in the description
48.579 -> of this video or you can go to my website that is automation step-by-step.com And here
55.46 -> it is if you go to online courses and if you click on protractor here, you will get all
62.01 -> the videos of this playlist So you can just watch the earlier video in case you have not
66.47 -> watched and in the earlier video we We had a started Jenkins.
70.97 -> We have also created this job on Jenkins that is protractor test And if I go inside this
76.38 -> job Here you can see in this job We had added this command to run our protractor test and
87.479 -> we do not have to add the folder location because that we have already added in the
91.659 -> general section If I go to Advanced I have already added the location of my protractor
98.21 -> demo folder where I have all my protector framework now here in the job You will find
105.229 -> a link for source code management If you go here you will see here We have all these options
112.39 -> none, git and subversion So I will go to git and in case you do not find git here You can
117.99 -> add the plug-in for get so you can go to your Jenkins dashboard and go to manage Jenkins
126.81 -> and go to manage plugins and go to the available section I will show you in my case It will
133.06 -> be here in the installed section So if I just search for git plugin, You can see it is here
139.84 -> So you can just go to your available section search for git plug-in and install it and
144.89 -> then you will have this option For git here and here I will give my repository of the
154.79 -> project So in the earlier session, we had created our GitHub repository where we have
161.05 -> Our project so I will just sign in on GitHub And you can also use any other repository
169.27 -> if you are using other than GitHub So I will just sign in here And here is our repository
179.959 -> for protractor We created this protective framework and I will just Copy the URL You
188.099 -> can also copy it from this main address bar and then I will provide the URL here And that's
198.22 -> it Now The other thing I will do is if I go to my general section and here I'm just going
207.44 -> to remove this for now use custom workspace.
211.7 -> I'm going to remove it this or you can also give some other folder For example, I will
220.739 -> create a new folder here I will say Jenkins projects And I will copy this And put here
233.65 -> in use custom workspace And even if you do not give this it will clone the project from
239.11 -> GitHub to the Jenkins folder So you can skip this if you do not want to use a custom folder
245.29 -> Otherwise just do it here and I have added the GitHub URL here and then in the build
253.239 -> section, I am just keeping the same command So I will say apply save and I will say here
261.33 -> build now and if I go to the logs so you can see it is now Taking it out from get up and
270.94 -> down It is running our tests on the project that it has cloned from git So if I show you
277.4 -> the logs you can see here It is now building on this project and now it is cloning the
282.62 -> repository from this particular GitHub URL and here it is putting it here in Jenkins
290.57 -> project So if I now go to this location on my folder, you can see if I now go to Jenkins
297.14 -> project It has cloned the entire project from GitHub and now it is running the test on this
304.35 -> project So now you do not have to keep the project on the local system where you have
309.61 -> get you can just keep your project on GitHub and you can do all the Commit and push from
317.1 -> your local system on this GitHub repository with this we have already learnt in the earlier
321.79 -> sessions So if you go here we have this how to upload project on Git Version Control this
327.46 -> we have already learnt and now you can use Jenkins along with get and now you can run
334.48 -> your projects directly cloning from get and then running on Jenkins So I hope this session
341.13 -> was very useful for you if you have any questions or any doubts, please Write them down in the
346.66 -> comment section below and I will try to answer as soon as I can do share your knowledge with
351.28 -> others and thank you so much for watching.

Source: https://www.youtube.com/watch?v=U6Ty0mtKlbU