Open raandree opened 4 years ago
gotcha - It might be worth looking for CI_PIPELINE_IID, and falling back to CI_PIPELINE_ID for compatibility (IID is per project, ID increments globally for all projects, so could be painful for those of us with busy gitlabs - at least, afaict from reading a few issues and their definitions).
When building on GitLab CI BuildHelpers uses the wrong variable to get the build number. The variable 'CI_JOB_ID' is not the build number but is different between each job (worker) in the same build. This should be replaced by 'CI_PIPELINE_ID'.
And please close #43.