Hi,
I have a strange behavior with the polling system, the polling cron like
work fine but the checkup is totally wrong, it see to use old settings and
not the latest Jenkinsfile (2.72 with up to date plugins in today date).
My Jenkins file does 3 Hg checkout:
1. Jenkinsfile
2. Build script helpers
3. Source
The helper scripts are checkout into tmp subdir (poll is false I don't want
to rebuild because of change on this) (#2)
def build_helper_scripts =
"${jenkinsfile_scripts}\\JenkinsBuildHelperScripts"
dir("${build_helper_scripts}")
{
checkout changelog: false, poll: false, scm: [$class: 'MercurialSCM',
source: "http://BCADLX04/Jenkinsfile <http://bcadlx04/Jenkinsfile>",
browser:[$class: 'HgWeb', url: "http://BCADLX04/Jenkinsfile
<http://bcadlx04/Jenkinsfile>"], clean: false, credentialsId: '', revision:
"${PIPELINE_BRANCH_NAME}", revisionType: "BRANCH"]
}
After that the second checkout is main repos inside the workspace (poll is
true, #3):
checkout changelog: true, poll: true, scm: [$class: 'MercurialSCM', source:
"http://BCADLX04/B <http://bcadlx04/Jenkinsfile>odycad", browser:[$class:
'HgWeb', url: "http://BCADLX04/B <http://bcadlx04/Jenkinsfile>odycad"],
clean: false, credentialsId: '', revision: "${BRANCH_NAME}", revisionType:
"BRANCH"];
I started the build manually so the system have the jenkinsfile entry into
it.
The build number *Mercurial Build Data* show the proper revision and the
build complete (with an error, 1 unit test failed).
Then the polling execute itself at the proper time but I end up with the
following thing into the *Mercurial Polling Log*
Started on Aug 3, 2017 7:03:00 PM
[CAD_CPP_ContinuousBuild@script] $ hg pull --rev VS2015
pulling from http://BCADLX04/Jenkinsfile <http://bcadlx04/Jenkinsfile>
no changes found
[CAD_CPP_ContinuousBuild@script] $ hg log --rev VS2015 --template {node}
[CAD_CPP_ContinuousBuild@script] $ hg log --rev VS2015 --template {rev}
no polling baseline in
c:\Jenkins\workspace\CAD_CPP\CAD_CPP_ContinuousBuild@tmp\Jenkinsfile on Windows
10 Node
ERROR: no such computer Windows 10 Node
Done. Took 2.4 sec
No changes
The problems is that the *Windows 10 Node* no more exist for a while now
(way before the yesterday manual execution). The last build (manually
started yesterday) was not using it anymore, it check the Jenkinsfile for
polling (#1), ok I guess this is fair and a wanted behavior, but the real
checkout #3 is not more checked!
Where is the polling information kept? Can I reset this properly and how
(manual build doesn't seem to had any effect)?
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/b0b3897b-c67f-41cb-921d-be9a59fb1935%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.