I am trying to pull the code from git local repo to Jenkins. How can I do..What should be the repo URL? Is a repo on github mandatory for Jenkins Build?
            Asked
            
        
        
            Active
            
        
            Viewed 1,883 times
        
    1 Answers
0
            Github is not mandatory for Jenkins. What it needs is, a git clone URL, so that Jenkins can clone/pull that repo into it's job's workspace to work upon.
Since you have git repo hosted on your local and not on any server, what you need is a .git clone URL of you local file system.
You can go through this link for the same : GIT clone repo across local file system in windows
I still suggest to push your local git repository to any git hosting services and integrate that with Jenkins. It will be easier approach.
 
    
    
        saurabh14292
        
- 1,281
- 2
- 10
- 12
- 
                    Thanks Saurabh for cutting the clutter !!! Went ahead and got it working !!! – Ranjith May 01 '20 at 13:44
