I can't duplicate the problem you've reported. Steps I took to try to duplicate the problem:
- Install Jenkins 2.150.2 with suggested plugins on fully patched CentOS 7.6.1810 as of February 16, 2019 using yum repo
- Create a Freestyle project that clones the master branch of https://github.com/MarkEWaite/jenkins-bugs with a custom refspec +refs/heads/master:refs/remotes/origin/master and the additional behavior Honor refspec on initial clone for fast cloning and reduced disc use, with SCM polling every minute
- Commit changes to the master branch, confirm that the changes are reported as expected in both the job view and the build view
- Install git client plugin 3.0.0-rc and git plugin 4.0.0-rc
- Restart the Jenkins server
- Commit changes to the master branch, confirm that the changes are reported as expected in both the job view and the build view
- Create a Pipeline job that attempts to duplicate the problem
The job view looks like this:
The build view looks like this:
Please provide additional information that will allow others to duplicate the problem you're seeing.
My system configuration information looks like this:
The Freestyle job definition I'm using is attached as config.xml
Some ideas of what might be different between my environment and yours:
- I installed Jenkins with the yum repo, you might be running jenkins.war
- I use bash as my default shell, you might be using csh or zsh or ksh
- I patched the operating system with the latest updates, you might be running with different patches
- I used command line git as installed in /usr/bin/git, you might be using a different installation
- I relied on the default git tool definition in Jenkins, you might have defined a custom git tool in Jenkins which points to a different git version
What version of command line git is available on the computer running the Jenkins master?
You can list the command line git version with the command:
What operating system is running the Jenkins master (Windows, Linux, FreeBSD, OpenBSD, etc.)?