This ended up being a permissions issue. Here's what I did to determine
that:
def command2 = "git pull"
println ("[$command2]")
StringBuffer sbout = new StringBuffer()
StringBuffer sberr = new StringBuffer()
Process process2 = command2.execute(null, srcDir)
process2.waitForProcessOutput sbout, s
I am using the Git Plugin. I just needed to add some custom parameters.
Here's a high level overview of what I'm trying to accomplish. As I
mentioned, I'm new to Jenkins so I am totally open to any ideas so if you
know of a more efficient way of accomplishing what I need to do, I'm all
ears:)
Not sure why that particular Groovy isn't working or not, but is there a
reason why you aren't using the Git Plugin?
Richard.
On Thu, 2 Apr 2015 at 07:55 Alex Ward wrote:
> Hi,
>
> I am exploring Jenkins as my company's new CI server replacing Cruise
> Control. I am new to both Jenkins and Groo
Hi,
I am exploring Jenkins as my company's new CI server replacing Cruise
Control. I am new to both Jenkins and Groovy.
I am having an issue running the following Groovy script. The first and
last parts run just fine, but for some reason git pull never works. I'm not
seeing any exception, jus