Answer the question
In order to leave comments, you need to log in
How to get sources from git using jenkins and save them to the working directory?
Hello.
I have a web server that hosts a website.
Development is carried out using git which is located on the same machine as the web-server (but in different directories).
I recently installed jenkins on the same machine.
But I can't figure out how to set it up so that it would take files from git (from the master branch) and deliver them to the project directory.
Answer the question
In order to leave comments, you need to log in
It seems that reptilians from the planet Nibiru sometimes look here, where there is no Google and never was.
I drove into the search setting jenkins - a wagon and a small cart of manuals of varying degrees of detail.
Here , for example, already for very small ones - even with pictures.
That's what really surprises me - how are you going to solve problems when coding, even if you cannot solve problems when installing / configuring software? Will you ask on this site too?
Git plugin + can be chained to dir for example:
dir("folder") {
git branch: 'branch', url: 'url'
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question