Using Jenkins Pipeline to deploy code
<p>I would like to use Jenkins as my CI/CD tool. 
I am trying to use the Jenkins Pipeline plugin <a href="https://github.com/jenkinsci/pipeline-plugin" rel="nofollow">https://github.com/jenkinsci/pipeline-plugin</a>. I would like just to clone a repo on jenkins server and then copy it to a remote server.</p>

<p>I dont know if it is a best practice or probably should I use other tool to CI/CD?</p>