Gitlab-plugin: Question: Missing Build Parameters for Replay

Created on 15 Nov 2017  路  6Comments  路  Source: jenkinsci/gitlab-plugin

Context

  • Gitlab plugin version: > 1.2.0
  • Jenkins version: X.Y.Z > 2.3
  • Job type: Pipeline

Problem description

Due to docs gitlab sets hook data via environment and not through build parameters -> it makes replay meaningless which is very disturbing in terms of debugging.
Could you explain why it is not possible to use build parameters? Github plugin still does it and works as intended. Thanks!

bug

Most helpful comment

@almozavr OK, I will look into this, it sounds like a bug.

All 6 comments

@almozavr can you elaborate on why this makes replay "meaningless?" Are you referring to the replay feature of Pipelines?

The reason this change was made is explained here: https://jenkins.io/blog/2016/05/11/security-update/ I don't know how the GitHub plugin would still be using parameters at this point. It would only work if you overrode the security fix, so I suspect that is not really the case.

@omehegan by "Replay" I mean job feature (http://take.ms/z4HB8)
It's unusable with gitlab plugin because those environment params gitlab passes to concrete job on trigger are not available (and are missing) during replay

@almozavr OK, I will look into this, it sounds like a bug.

2 陆 years later this bug still exists. Whats the status on this matter?

3 year later, any advance?

Was this page helpful?
0 / 5 - 0 ratings