diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2012-12-29 15:56:48 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2012-12-29 15:56:48 +0100 |
commit | 1b83af30a4e935f2037a6e9153cb438c29adfbfc (patch) | |
tree | 4b885fe232512d3c4c22c99d004ce202ec7638f6 /src/main/webapp/apps/jenkinsApp/JenkinsResources.js | |
parent | f39b6c813dfa8ad97de4f8a35aaf21ee1408b6d4 (diff) | |
download | esper-testing-1b83af30a4e935f2037a6e9153cb438c29adfbfc.tar.gz esper-testing-1b83af30a4e935f2037a6e9153cb438c29adfbfc.tar.bz2 esper-testing-1b83af30a4e935f2037a6e9153cb438c29adfbfc.tar.xz esper-testing-1b83af30a4e935f2037a6e9153cb438c29adfbfc.zip |
o Starting on a generic paging component.
o Showing recent jobs on the jenkins server page.
Diffstat (limited to 'src/main/webapp/apps/jenkinsApp/JenkinsResources.js')
-rw-r--r-- | src/main/webapp/apps/jenkinsApp/JenkinsResources.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main/webapp/apps/jenkinsApp/JenkinsResources.js b/src/main/webapp/apps/jenkinsApp/JenkinsResources.js new file mode 100644 index 0000000..0026932 --- /dev/null +++ b/src/main/webapp/apps/jenkinsApp/JenkinsResources.js @@ -0,0 +1,17 @@ +'use strict'; + +function JenkinsServer($resource) { + return $resource('/resource/jenkins/server/:uuid', {uuid: '@uuid'}); +} + +angular. + module('jenkinsServer', ['ngResource']). + factory('JenkinsServer', JenkinsServer); + +function JenkinsJob($resource) { + return $resource('/resource/jenkins/job/:uuid', {uuid: '@uuid'}); +} + +angular. + module('jenkinsJob', ['ngResource']). + factory('JenkinsJob', JenkinsJob); |