Reverting back to simple timed polling
- Jenkins git scm polling was failing with following error in Git Polling Log:
Started on May 4, 2018 5:07:00 PM
Using strategy: Gerrit Trigger
[poll] Last Built Revision: Revision 10b5357dc9b7a47d36acc575dc3085263cb24ddc (refs/heads/master)
> git --version # timeout=10
> git ls-remote -h $GIT_URL/$GERRIT_PROJECT/onos/onos # timeout=10
FATAL: hudson.plugins.git.GitException: Command "git ls-remote -h $GIT_URL/$GERRIT_PROJECT/onos/onos" returned status code 128:
stdout:
stderr: fatal: Project not found: onos/onos/onos
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
hudson.plugins.git.GitException: Command "git ls-remote -h $GIT_URL/$GERRIT_PROJECT/onos/onos" returned status code 128:
stdout:
stderr: fatal: Project not found: onos/onos/onos
fatal: Could not read from remote repository.
Change-Id: Ia002bef138c7aee97a3050fece3b9b211574b96f
diff --git a/jjb/onos/onos-verify.yaml b/jjb/onos/onos-verify.yaml
index faddace..5231c54 100644
--- a/jjb/onos/onos-verify.yaml
+++ b/jjb/onos/onos-verify.yaml
@@ -134,8 +134,7 @@
jenkins-ssh-credential: '{jenkins-ssh-credential}'
triggers:
- - pollscm:
- cron: '@hourly'
+ - timed: '@hourly'
# FIXME - there is a Slack integration plugin in 2.0.3
publishers: