Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #10388

Closed
Open
Created Oct 04, 2016 by Administrator@rootOwner

Jenkins CI run using GIT hub for Specific Project

Created by: dhamu2622

Am new to jenkins and GIThub configuration, My requirement is i need to trigger the Jenkin job once if new job is pushed in Git hub.

  1. copied the hook url from jenkins http://http://10.251.236.139:8080//github-webhook/ and added in GIThub's Webhooks / Manage webhook .

2)jenkins Source code mgmt git->repositary url : git https://github.myserver.com/APS-CODS/GIT_SVN_MIGRATION.git

3)Branch Specifier (blank for 'any'): */develop

4)Build Triggers : Build when a change is pushed to GitHub

i think the above setup is fine.if it is wrongly kindly guide me.

My questions :

1)I have list of projects under my develop/* branch in githup then how jenkins identify which job need to run?

2)Second thing i push the code in github by user1 and i configured my job under default jenkins admin user is there any conflict ?

My jenkins job not triggered automatically while i push the codes under project1 in git hub.

I tryed to run mannualy in build now option in jenkins i got an error as follows: ERROR: Error fetching remote repo 'origin'

+refs/heads/:refs/remotes/origin/" returned status code 128: stdout: stderr: fatal: I don't handle protocol 'git https'

Assignee
Assign to
Time tracking