mirror of
https://github.com/Fishwaldo/rundeck-api-java-client.git
synced 2025-07-06 04:58:26 +00:00
Wagon: Deploying site to repository
This commit is contained in:
parent
da67b6e549
commit
198870de42
190 changed files with 12453 additions and 2885 deletions
13
groovy.html
13
groovy.html
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!-- Generated by Apache Maven Doxia at Jul 5, 2011 -->
|
||||
<!-- Generated by Apache Maven Doxia at Jul 6, 2011 -->
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
|
@ -10,7 +10,7 @@
|
|||
@import url("./css/site.css");
|
||||
</style>
|
||||
<link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
|
||||
<meta name="Date-Revision-yyyymmdd" content="20110705" />
|
||||
<meta name="Date-Revision-yyyymmdd" content="20110706" />
|
||||
<meta http-equiv="Content-Language" content="en" />
|
||||
|
||||
<!-- Google Analytics -->
|
||||
|
@ -49,7 +49,7 @@
|
|||
</div>
|
||||
<div class="xright">
|
||||
|
||||
<span id="publishDate">Last Published: 2011-07-05</span>
|
||||
<span id="publishDate">Last Published: 2011-07-06</span>
|
||||
| <span id="projectVersion">Version: 1.0-SNAPSHOT</span>
|
||||
</div>
|
||||
<div class="clear">
|
||||
|
@ -67,6 +67,9 @@
|
|||
</li>
|
||||
<li class="none">
|
||||
<a href="download.html" title="Download">Download</a>
|
||||
</li>
|
||||
<li class="none">
|
||||
<a href="faq.html" title="FAQ">FAQ</a>
|
||||
</li>
|
||||
<li class="none">
|
||||
<a href="apidocs/index.html" title="API Documentation">API Documentation</a>
|
||||
|
@ -112,13 +115,17 @@ import org.rundeck.api.RundeckClient
|
|||
rundeck = new RundeckClient("http://localhost:4440", "admin", "admin")
|
||||
|
||||
println "All RunDeck projects : ${rundeck.projects}"
|
||||
println "All RunDeck nodes : ${rundeck.nodes}"
|
||||
println "All RunDeck jobs : ${rundeck.jobs}"
|
||||
println "All RunDeck running executions : ${rundeck.runningExecutions}"
|
||||
</pre></div><p>You can also <a href="./download.html">download</a> the lib and all its dependencies in 1 big jar file, and add it to your classpath before running your script : save the following script in a file named "<tt>rundeck.groovy</tt>", and execute it with "<tt>groovy -cp /path/to/rundeck-api-java-client-VERSION-jar-with-dependencies.jar rundeck.groovy</tt>".</p><div class="source"><pre>import org.rundeck.api.RundeckClient
|
||||
|
||||
rundeck = new RundeckClient("http://localhost:4440", "admin", "admin")
|
||||
|
||||
println "All RunDeck projects : ${rundeck.projects}"
|
||||
println "All RunDeck nodes : ${rundeck.nodes}"
|
||||
println "All RunDeck jobs : ${rundeck.jobs}"
|
||||
println "All RunDeck running executions : ${rundeck.runningExecutions}"
|
||||
</pre></div><div class="section"><h3>Running a job<a name="Running_a_job"></a></h3></div><div class="source"><pre>import org.rundeck.api.RundeckClient
|
||||
rundeck = new RundeckClient("http://localhost:4440", "admin", "admin")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue