gitlab-plugin icon indicating copy to clipboard operation
gitlab-plugin copied to clipboard

new branch , gitlabBefore=0000000000000000000000000000000000000000

Open xiaolongli827 opened this issue 4 years ago • 2 comments

Jenkins and plugins versions report

Environment
Paste the output here

What Operating System are you using (both controller, and any agents involved in the problem)?

I created the Push hook on GitLab to trigger the Jenkins task. When I create a new branch, modify the file, and submit and putsh it to GitLab. Jenkins gitlabBefore = 0000000000000000000000000000000000000000 in the log, my mission will use gitlabBefore, he seems to be abnormal. jenkins log as such: ... gitlabBefore=0000000000000000000000000000000000000000 USER=jenkins com.apple.java.jvmTask=CommandLine gitlabTargetBranch=test_jenkins ...

Reproduction steps

as

Expected Results

I expect him to return a correct $gitlabBefore

Actual Results

but it give me gitlabBefore = 0000000000000000000000000000000000000000

Anything else?

No response

xiaolongli827 avatar Jan 14 '22 07:01 xiaolongli827

I see also have hooks in gitlab official document content gitlabBefore: 0000000000000000000000000000000000000000. May be gitlab sent is 0000000000000000000000000000000000000000

xiaolongli827 avatar Jan 14 '22 07:01 xiaolongli827

I have got the same issue!

TT2142022 avatar Oct 12 '22 02:10 TT2142022