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:
- Jenkinsfile
- Build script helpers
- 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}")
{
}
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/Bodycad
", browser:[$class: 'HgWeb', url: "http://BCADLX04/Bodycad"], 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
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)?