jenkinsci / gitlab-plugin

A Jenkins plugin for interfacing with GitLab
https://plugins.jenkins.io/gitlab-plugin/
GNU General Public License v2.0
1.43k stars 612 forks source link

Investigate getting access to GitLab env vars in Multibranch projects #704

Open omehegan opened 6 years ago

omehegan commented 6 years ago

When GitLab triggers a Pipeline Multibranch project in Jenkins the plugin simply triggers branch polling in Jenkins and leaves it to Jenkins to decide whether to trigger any builds. This prevents us from populating any env vars with data sent from the GitLab webhook. It would be nice if this could be resolved, so that Multibranch projects can make use of those the way regular Pipeline and Freestyle jobs do.

Would fix #495.

omehegan commented 6 years ago

@abayer would you be able to comment on possible solutions to this problem? Our previous maintainer had concluded that we just couldn't do this for Multibranch jobs when he implemented support for them.

dweggemans commented 6 years ago

Any workaround available? I really need this

byahia commented 5 years ago

is there any plans to implement this soon?