Great. Thank you and Philipp for your fast and helpful replies.
On Friday, July 1, 2016 at 1:16:48 PM UTC-4, Antonio Muñiz wrote:
>
>
> On Fri, Jul 1, 2016 at 5:08 PM, KP >
> wrote:
>
>> Or extend "checkout scm" so that I can use a subdirectory?
>
>
> Try this:
>
> dir('a_subdirectoty') {
> c
On Fri, Jul 1, 2016 at 5:08 PM, KP wrote:
> Or extend "checkout scm" so that I can use a subdirectory?
Try this:
dir('a_subdirectoty') {
checkout scm
}
--
Antonio Muñiz
Software Engineer
CloudBees, Inc.
--
You received this message because you are subscribed to the Google Groups
"Jen
You can get the values from the global SCM variable i.e.:
checkout([
$class : 'GitSCM',
branches : [[$class: 'BranchSpec', name:
git_reference]],
doGenerateSubmoduleConfigurations:
scm.doGenerateSubmoduleConfigurations,
I am also interested in this, but for a slightly different reason. I want
to checkout into a sub-directory using git. I know that I can do that by
using syntax like:
checkout([$class: 'GitSCM', branches: [[name: '**']],
doGenerateSubmoduleConfigurations: false, extensions: [[$class:
'Relative
Thank you -- This is exactly what I was looking for. Now that I have it,
and was able to search the docs for it, I don't know how I missed it
Thanks,
Greg
On Tuesday, May 31, 2016 at 11:54:25 AM UTC-4, Antonio Muñiz wrote:
>
> You can use `checkout scm` which will clone the repository at
You can use `checkout scm` which will clone the repository at the same
revision than the previously fetched Jenkinsfile.
On Tue, May 31, 2016 at 5:00 PM, Greg Smith wrote:
>
> Hello,
>
> I have a question that is probably obvious, but I couldn't seem to find it
> anywhere. Apologies for my newb
Hello,
I have a question that is probably obvious, but I couldn't seem to find it
anywhere. Apologies for my newbie question:
If I have a multibranch Pipeline job, does my Jenkinsfile need to do the
git extract? Or should that be assumed as part of the retrieval of the
Jenkinsfile?
For exa
>
> From: Jeff
>To: jenkinsci-users@googlegroups.com
>Sent: Friday, January 4, 2013 9:53 AM
>Subject: Re: Git question...
>
>
>That was it! Thank you!
>
>
>I had the auto installer running "sudo apt-get install git" on nodes la
-export-ok in that
>>> directory, and then create a job which uses git://yourserver/git/repo_name
>>> to checkout. That idea is suggested in
>>> http://stackoverflow.com/questions/12614771/configure-git-repository-in-jenkins.
>>> I don't think that is likely your problem either, but trying t
likely your problem either, but trying the fix may
>> expose the real problem to you.
>>
>> Mark Waite
>>
>>
>>
>> --
>> *From:* Jeff
>> *To:* jenkinsci-users@googlegroups.com
>> *Sent:* Thursday, January 3
x may
> expose the real problem to you.
>
> Mark Waite
>
>
>
> --
> *From:* Jeff
> *To:* jenkinsci-users@googlegroups.com
> *Sent:* Thursday, January 3, 2013 5:22 PM
> *Subject:* Re: Git question...
>
> I didn't even realize those op
Waite
>
> From: Jeff
>To: jenkinsci-users@googlegroups.com
>Sent: Thursday, January 3, 2013 5:22 PM
>Subject: Re: Git question...
>
>
>I didn't even realize those options existed...ack!
>
>
>I checked and "Fast remote polling" i
ettings for your job). I tried to duplicate the
> problem myself and was unable to duplicate it, so I'm probably not using
> exactly the steps you are using.
>
> Mark Waite
>
> --
> *From:* Jeff
> *To:* jenkinsci-users@googlegroups.com
> *
hursday, January 3, 2013 1:35 PM
>Subject: Git question...
>
>
>I have some Git projects (internal gitolite repository) that I'm configuring
>and when I put the git repo URL in, it shows this error below field:
>
>
>Failed to connect to repository : Error
performing
I have some Git projects (internal gitolite repository) that I'm
configuring and when I put the git repo URL in, it shows this error below
field:
*Failed to connect to repository : Error performing command: ls-remote -h
gitolite@mygitrepo:/myproject.git HEAD*
If I login as the user that Jenkins
15 matches
Mail list logo