Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D digitec-wiki
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Digitec
  • digitec-wiki
  • Wiki
  • setting_up_webhook_for_jenkins

Last edited by Rene Cabral Oct 27, 2014
Page history

setting_up_webhook_for_jenkins

Home / PhpStorm / Jenkins Post Commit Hook

To add jenkins post commit hook.

  • In jenkins create a new job with the git ssh repo url of the project that you want to run your test against.
  • for the credentials use the jenkins user account
  • in the build triggers check "poll scm" with no schedule
  • in the settings on the gitlab project select webhooks->post commit
  • in the url put in http://ci.digitec.local/git/notifyCommit?url=[ssh url] where [ssh url] is the git ssh url to the project. example http://ci.digitec.local/git/notifyCommit?url=git@vc.digitec.local:rwilbert/zf-courses.git
  • You can use the test hook. But the jenkins tests will not run unless there are changes to code repo
Clone repository
  • alpha beta testing
  • browser testing
  • camtasia licenses
  • code delivery processes
  • coding practices
  • css and sass coding standards
  • database schema standards
  • dependency management
  • development environments
  • digitec agile process
  • digitec gitlab styles
  • digitec software promises
  • digitec spec process
  • gitlab administration
  • gitlab issues tags
View All Pages