stash-jenkins-postreceive-webhook icon indicating copy to clipboard operation
stash-jenkins-postreceive-webhook copied to clipboard

"Committers to Ignore" being ignored

Open nickcodefresh opened this issue 8 years ago • 2 comments

I have a Jenkins job that's committing code to my master branch and then pushing to origin using the user "flexteam". In BitBucket I have added that user to "Committers to Ignore" but Jenkins still kicks off a Jenkins build.

Here's a snipped of the Jenkins build job.

+ git config --global user.email [email protected]
+ git config --global user.name flexteam
+ git config --global push.default simple
+ git config --list
[email protected]
user.name=flexteam
push.default=simple
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.url=XXXXXXXXXXXXXXXXXXXXXXXXXX
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
+ find . -name pom.xml
+ xargs git add
+ git commit -m Updated POM version to 1.0.58
[detached HEAD f8fed8f] Updated POM version to 1.0.58
 5 files changed, 5 insertions(+), 5 deletions(-)
+ git push origin HEAD:master
To XXXXXXXXXXXXXXXXXXXXXXXXXX
   ebfd76a..f8fed8f  HEAD -> master

image

Any ideas why this is happening?

nickcodefresh avatar Nov 21 '16 16:11 nickcodefresh

It works for me. Are you sure that the user has the name flexteam in your bitbucket?

haimich avatar Jan 10 '17 14:01 haimich

Can you print the results of git log that has the commit performed by this user?

thrownullpointer avatar Jun 23 '17 01:06 thrownullpointer