Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
Linux x86_64 / Debian 6.0.5
Sun java 1.6.0_26
Jenkins 1.473
Git plugin 1.1.24
Description
With the latest version of the git plugins, my jobs which push tags to the origin repository have started to fail
Pushing HEAD to branch post-integration of origin repository ERROR: Failed to push tag 0.0.24 to origin java.lang.NullPointerException at hudson.plugins.git.GitPublisher$3.invoke(GitPublisher.java:290) at hudson.plugins.git.GitPublisher$3.invoke(GitPublisher.java:268) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2196) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Build step 'Git Publisher' changed build result to FAILURE
I rolled back to 1.1.23 and the same jobs started succeeding again. My jobs are configured to create and push a tag (determined by environment variable) in the git publisher step.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Summary | NPE wi | NPE when git publisher tries to push a tag |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Workflow | JNJira [ 146125 ] | JNJira + In-Review [ 191787 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
This is likely caused by this commit:
https://github.com/jenkinsci/git-plugin/commit/6aaf169902ce55924fdabf142fc443ef4c80c1ae
If the tagMessage is NULL then it will most certainly throw a NullPointerException.