ThanksForAllTheFish
2014-09-09 079e2c80abe701fb7f2a93c43c38d8e2ac69517c
Repository url is now r

The previous 'triggerUrl' version causes a response similar to 'No git jobs using repository: http://gitblit-host/gitblit/git/repo.git'. The wroking url is 'http://gitblit-host/gitblit/r/repo.git'.
I also added brackets to improve readability
1 files modified
2 ■■■ changed files
src/main/distrib/data/groovy/jenkins.groovy 2 ●●● patch | view | raw | blame | history
src/main/distrib/data/groovy/jenkins.groovy
@@ -70,7 +70,7 @@
def jenkinsUrl = gitblit.getString('groovy.jenkinsServer', 'http://yourserver/jenkins')
// define the trigger url
def triggerUrl = jenkinsUrl + "/git/notifyCommit?url=$url/git/$repository.name"
def triggerUrl = jenkinsUrl + "/git/notifyCommit?url=${url}/r/${repository.name}"
// trigger the build
new URL(triggerUrl).getContent()