Maybe you can have an empty job that just execute a shell script.
That job can run periodically every X minutes.
Then your script will "manually" verify the repository and act if there is a
change.
So, don't let Jenkins do the check> Do it yourself in your script and let
Jenkins call your script periodically.
It should work.
From: jenkinsci-users@googlegroups.com
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Richard Bywater
Sent: March 26, 2014 11:48 PM
To: jenkinsci-users@googlegroups.com
Subject: Re: how can I monitor a repository without having to check out code
into jekins workspace
Could a git hook do what you are trying to do?
Richard.
On Thursday, March 27, 2014, wrote:
Hello-
I want to monitor a git repository and run a script where then is a change.
I've puzzled over it for a while now, and I cannot figure this out. If I use
"Source Code Management" and fill out my particulars about my git
repository, Jenkins tries to checkout the code into a local workspace. Is
there any way to monitor a repository and act on it without this inherent
checkout into a workspace? I'm sure there is a way to do it, but I don't see
it in the interface.
-Thanks!
--
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, send an
email to jenkinsci-users+unsubscr...@googlegroups.com
.
For more options, visit https://groups.google.com/d/optout.
--
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, send an
email to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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, send an email
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.