Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gitlabSourceRepoURL from hook request #136

Closed
gege-fr opened this issue Nov 17, 2015 · 1 comment
Closed

gitlabSourceRepoURL from hook request #136

gege-fr opened this issue Nov 17, 2015 · 1 comment
Milestone

Comments

@gege-fr
Copy link

gege-fr commented Nov 17, 2015

Could $gitlabSourceRepoURL take it's value from the actual gitLab hook and not the job config and start the jenkins job even if no SCM is set.

repository": {
    "name": "Diaspora",
    "url": "[email protected]:mike/diasporadiaspora.git",
    "description": "",
    "homepage": "http://example.com/mike/diaspora",
    "git_http_url":"http://example.com/mike/diaspora.git",
    "git_ssh_url":"[email protected]:mike/diaspora.git",
    "visibility_level":0
  },

That would allow me to create a single, generic, jenkins job that would handle all of my maven builds (git clone depending on the $gitlabSourceRepoURL value) and releases instead of creating one job per project that are all clones of each others.

@antoniolibrada
Copy link

We would really appreciate this

@coder-hugo coder-hugo added this to the 1.2.0 milestone Mar 20, 2016
exceed-alae pushed a commit to exceed-alae/gitlab-plugin that referenced this issue May 20, 2022
Add ghprbTriggerLogin to allow mentions in the status comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants