I have had some problems with this as well so I don't know if this will
work for you or not. Your definitions should be regex expressions so the
wildcards may be a problem.
Try adding a dot . before the trailing asterisk on the second
definition. That means any path that begins with what you
But if you use periodic job trigger, it will run even if there are no
changes to the code.
I have the same problem -- polling and the job used to happen at the time I
had set. Now there appears to be a delay. I want it to run at a specific
time but only if there were code changes so I need to
I am sorry, I guess we have not explained the problem correctly. It is not
the build time that is the problem, it is the polling time.
I have my job set to poll every night at 9pm (21h) yet the Subversion
Polling Log (not the build time) shows that the polling did not occur until
9:09pm - nine
Hi,
Yes, you can set the job to be triggered by SCM change using the same cron
style configuration for the polling interval. I have jobs that poll only
at a particular hour as you described. If there are any changes, the job
starts and if there are no changes, the job does not run. The polling
.
On Mon, Jul 14, 2014 at 12:28 PM, Phillip Campbell
phillip.campb...@gmail.com wrote:
This is something that we need to do as well. We have Jenkins instances
distributed globally and in one case, we need to trigger jobs remotely on
other Jenkins instances.
What we do is have the remote job
You can only tag revisions of a file that have been committed to your scm.
You would have to commit the change to the buildnum.txt file which would
increment the revision number and tag that.
Tagging does not make a copy of files from your workspace, it just makes a
list of pointers within the
Here's a snippet from a Jenkinsfile in a pre-2.0 pipeline job that I use
to read an existing build.properties file in the workspace so that the
Jenkinsfile can use the properties. I haven't tried this in 2.0 pipeline
yet.
if (!fileExists('build.properties')){echo 'No
build
when I try to echo the variable:
>
> def props = readProperties file: 'project.properties'
> def Var1= props['RELEASE']
> def Var2= props['SOFTWARE.VERSION']
>
> echo "Var1=" Var1
> echo "Var2=" Var2
>
> java.lang.NullPointerException: Cannot get prope