Jenkins::Trigger - trigger your Jenkins Job!
use Jenkins::Trigger; Jenkins::Trigger->new( host => 'build.your-machine.dev', port => 8080, )->trigger( 'JobName' );
Jenkins::Trigger is a simple tool for triggering projects on Jenkins CI.
You can use this module to hook your projects on Jenkins, and trigger jenkins jobs easily.
You can simple write a git hook script:
#!/usr/bin/env perl use Jenkins::Trigger; Jenkins::Trigger->new( host => 'your.host' )->trigger( 'YourJob' );
Jenkins with Git Plugin:
$ curl http://yourserver/jenkins/git/notifyCommit?url=<URL of the Git repository>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.