diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2012-12-29 18:11:08 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2012-12-29 18:19:19 +0100 |
commit | 84fb49088a14cff8b453e0e32f6ad7007eb2184a (patch) | |
tree | b306c923570b26501da8df1f6e41ec2404a19faa /src/main/webapp/apps/jenkinsApp/JenkinsResources.js | |
parent | 1b83af30a4e935f2037a6e9153cb438c29adfbfc (diff) | |
download | esper-testing-84fb49088a14cff8b453e0e32f6ad7007eb2184a.tar.gz esper-testing-84fb49088a14cff8b453e0e32f6ad7007eb2184a.tar.bz2 esper-testing-84fb49088a14cff8b453e0e32f6ad7007eb2184a.tar.xz esper-testing-84fb49088a14cff8b453e0e32f6ad7007eb2184a.zip |
o Adding jobs view for jenkins app.
Diffstat (limited to 'src/main/webapp/apps/jenkinsApp/JenkinsResources.js')
-rw-r--r-- | src/main/webapp/apps/jenkinsApp/JenkinsResources.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/webapp/apps/jenkinsApp/JenkinsResources.js b/src/main/webapp/apps/jenkinsApp/JenkinsResources.js index 0026932..89f3139 100644 --- a/src/main/webapp/apps/jenkinsApp/JenkinsResources.js +++ b/src/main/webapp/apps/jenkinsApp/JenkinsResources.js @@ -15,3 +15,11 @@ function JenkinsJob($resource) { angular. module('jenkinsJob', ['ngResource']). factory('JenkinsJob', JenkinsJob); + +function JenkinsBuild($resource) { + return $resource('/resource/jenkins/build/:uuid', {uuid: '@uuid'}); +} + +angular. + module('jenkinsBuild', ['ngResource']). + factory('JenkinsBuild', JenkinsBuild); |