The Job configured with "Inverse" strategy and triggered when a push to Github stops working after I upgraded Jenkins from 1.625.3 to 2.19.1 LTS where the git plugin was upgraded to 3.0.0
The previous settings:
Git plugin : 2.4.4
Git client plugin: 1.19.6
Git server plugin: 1.6
GitHub API plugin: 1.72
GitHub plugin: 1.17.1
GitHub Pull Request Builder: 1.31.2
works fine with Inverse strategy and GitHub trigger.
The jenkins log shows the Github webhook is triggered and the job is poked:
Oct 14, 2016 2:49:43 PM org.jenkinsci.plugins.github.webhook.subscriber.DefaultPushGHEventSubscriber onEvent
INFO: Received POST for https://cto-github.cisco.com/NFV-BU/github-demo
Oct 14, 2016 2:49:43 PM org.jenkinsci.plugins.github.webhook.subscriber.DefaultPushGHEventSubscriber$1 run
INFO: Poked Rally-Github-Jenkins-Integration ยป github-demo-build
However, the build never triggers.
-Indra
- blocks
-
JENKINS-21264 inverse build strategy issues
-
- Open
-
I downgraded git plugin to version 2.4.4 and git client to 1.19.7 but the inverse strategy still is not working even though I now use SCM polling.
Regular SCM Polling with default works fine.
Somehow after either upgrading to 2.7.4 LTS with pipelines and github organization, and CloudBees Folders upgraded, or further upgrade to 2.19.1 LTS then cause this regression issue.
Now I am getting this in the Jenkins log:
Oct 20, 2016 6:25:01 AM jenkins.plugins.git.AbstractGitSCMSource getCacheDir
INFO: Failed mkdirs of /opt/nmtgre-tools/jenkins/conf/caches
Why it can't create caches directory or write to it? Is this git plugin?