Re: Unable to run git repository on jenkins which is deplyed under tomcat8

2019-02-03 Thread Kevin McCann
There's a bunch of ways you could do this, depending on your set up. You can set the Jenkins job to only build on changes to branches that match a certain string, then have all work done in the specific subfolders match that string. Like "/ui-*" You could set up a second job that only checks

Re: Unable to run git repository on jenkins which is deplyed under tomcat8

2019-02-01 Thread kalyan
Quick help, Is there a way to trigger Jenkins job on changes only to a specific subfolder in the Git repository.? Traditionally, we were using VSTS for CICD and it has inbuilt GIT hooks to handle request but in Jenkins i couldn't find any concrete solution. Can some body please help. On Fri,

Re: Unable to run git repository on jenkins which is deplyed under tomcat8

2019-02-01 Thread Mark Waite
On Fri, Feb 1, 2019 at 5:10 AM Archana Srichandan < archana.srichan...@4tigo.com> wrote: > Hi, > Thanks for your reply. I gave the url as serverip:path to repository, The > username is given as the user of the remote server to which to do SSH. I > have created a private key for the user which I

Re: Unable to run git repository on jenkins which is deplyed under tomcat8

2019-02-01 Thread Archana Srichandan
Hi , I am able to set up but unable to build the sub branch other than master branch Regards, Archana Srichandan On Fri, Feb 1, 2019 at 5:47 PM Robert Rajendra wrote: > Hi, > > Where is the repo located is it in github or gitlab or butbucket > 1. log into the Jenkins server with ser as

Re: Unable to run git repository on jenkins which is deplyed under tomcat8

2019-02-01 Thread Robert Rajendra
Hi, for the integration that you are doing. you need to copy the public key of jenkins and paste it into the git then only your git will authenticate the jenkins server . *Robert Rajendra* Associate Network/Server Support Engineer IT Hands P: +91 863.087.3094 <+91%2086308%2073094> W:

Re: Unable to run git repository on jenkins which is deplyed under tomcat8

2019-02-01 Thread Dirk Heinrichs
Am Freitag, den 01.02.2019, 11:51 +0530 schrieb Archana Srichandan: Thanks for your reply. I gave the url as serverip:path to repository, The username is given as the user of the remote server to which to do SSH. I have created a private key for the user which I am logged in into the jenkins

Re: Unable to run git repository on jenkins which is deplyed under tomcat8

2019-02-01 Thread Robert Rajendra
Hi, Where is the repo located is it in github or gitlab or butbucket 1. log into the Jenkins server with ser as jenkins by running sudo su jenkins 2. cd .ssh 3. copy the public key and pste it to the repo deploy keys section then you should be able to connect the jenkins with git . *Robert

Re: Unable to run git repository on jenkins which is deplyed under tomcat8

2019-02-01 Thread Archana Srichandan
Hi, Thanks for your reply. I gave the url as serverip:path to repository, The username is given as the user of the remote server to which to do SSH. I have created a private key for the user which I am logged in into the jenkins server. I am copying the private key directly and also the

Re: Unable to run git repository on jenkins which is deplyed under tomcat8

2019-01-31 Thread Mark Waite
Did you assign a private key credential to that job? A username.password credential won't work with an SSH URL. A private key credential won't work with an http or https URL. If the private key has a passphrase, did you provide the passphrase when defining the credential in Jenkins? Did you

Unable to run git repository on jenkins which is deplyed under tomcat8

2019-01-29 Thread archana . srichandan
Hi All, I am not able to run my git repo on Jenkins ,attach is the screen shot for your reference. Regards, Archana Srichandan -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it,