First of all, I am Brazilian and not English native spoken, I am willing to reply you if my communication is not so clear.
At my company, we have gitlab-ci for managing CI runners. Sometimes, the developer needs run the runner with
custom variable and he should use --push-option parameter, like Push Options | GitLab
. And, the push-option works
in jgit command line.
Push Options | GitLab
Documentation for GitLab Community Edition, GitLab Enterprise Edition, Omnibus GitLab, and GitLab Runner.
I tried to add the push.pushOption to the repo properties on Git Perspective. But, it was not working.
So, I patched the org.eclipse.egit.core.op.PushOperation class for supporting push.pushOption repository
properties. I could upload "ci.skip" option. But, the problem is when I pushed ci.variable="MY_ENV_VARIABLE=test123",
it is not lauching the CI runner at all.
I attached the patch file.
Where should I look: jgit or egit? And how can I debug to check what is arriving on gitlab, I tracked all jgit transport classes,
and I couldnt see any problem?