[JIRA] [git-plugin] (JENKINS-30316) Kicking off a build manually causes git-plugin to retrieve all commits since last time a build was triggered manually instead of sine last build.
2 views
Skip to first unread message
matthewradams22@gmail.com (JIRA)
unread,
Sep 4, 2015, 7:10:02 PM9/4/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
If I push to source control in Stash and the hook notifies jenkins to build a job, it correctly shows the change log of only the commits since the last build. If i ever trigger the build manually from jenkins UI, the change log will show every change I have made since the last manual build (days, weeks or months worth of commits) Able to reproduce in many older version combos of jenkins/git as well like 1.592 and 2.2.2 Talked with Mark Waite about this briefly at JUC on 9/2 and it is believed to be a bug.
If I push to source control in Stash and the hook notifies jenkins to build a job, it correctly shows the change log of only the commits since the last build. If i ever trigger the build manually from jenkins UI, the change log will show every change I have made since the last manual build (days, weeks or months worth of commits)
Able to reproduce in many older version combos of jenkins/git as well like 1.592 and 2.2.2
Talked with Mark Waite about this briefly at JUC on 9/2 and it is believed to be a bug.
Can you provide more details about the job configuration and preferably a job definition and a public repo which shows the problem? I've not seen the problem on other jobs, so don't know how to duplicate it without your job definition or a set of steps to define the job.
For me it happens with every job. I just made a new job with a echo shell script and give it a git repo and then set up the hook in stash to notify on commits. Perhaps it is a stash hook problem?
Kicking off a build manually causes git-plugin to retrieve all commits since last time a build was triggered manually instead of sine since last build.
For me it happens with every job. I just made a new job with a aa echo shell script and give it a git repo and then set up the hook in stash to notify on commits. Perhaps it is a stash hook problem?