-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
Jenkins 2.92
TFS Plugin 5.126.0
We have TFS commit notifications setup to push to a Jenkins service hook and rely on TFS plugin's push trigger option to trigger the jenkins job.
UPDATE: we specify the Jenkinsfile from GIT SCM.
The notification is able to trigger freestyle projects fine. However for pipeline projects auto-triggering only works after i have manually build the pipeline project successfully first.
Additionally the pipeline project has to be successfully built for a repo url and credential combination. We found this recently when we had to change from ssh:// url to https:// repo url.
Hi Debasish. Thank you for using the tfs-plugin! Could you provide me with a little bit more information to help me debug the issue?
Are you using VSTS or TFS onPrem? If you are using TFS onPrem, what version do you have?
You mentioned that you are using a service hook to trigger the Jenkins job. When you review the service hook history, do you see that an event occurred when you pushed code to the repository?
If the service hook is triggering an event, can you capture logs from your Jenkins server? This article provides information on how to do so: https://wiki.jenkins.io/display/JENKINS/Logging
Thank you.