mirror of
https://github.com/Fishwaldo/rundeck-api-java-client.git
synced 2025-07-05 20:49:39 +00:00
Wagon: Deploying site to repository
This commit is contained in:
parent
ec8c21a35b
commit
25c6f6f977
185 changed files with 8541 additions and 3542 deletions
17
jruby.html
17
jruby.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 12, 2011 -->
|
||||
<!-- Generated by Apache Maven Doxia at Jul 28, 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="20110712" />
|
||||
<meta name="Date-Revision-yyyymmdd" content="20110728" />
|
||||
<meta http-equiv="Content-Language" content="en" />
|
||||
|
||||
<!-- Google Analytics -->
|
||||
|
@ -49,8 +49,8 @@
|
|||
</div>
|
||||
<div class="xright">
|
||||
|
||||
<span id="publishDate">Last Published: 2011-07-12</span>
|
||||
| <span id="projectVersion">Version: 1.1-SNAPSHOT</span>
|
||||
<span id="publishDate">Last Published: 2011-07-28</span>
|
||||
| <span id="projectVersion">Version: 1.1</span>
|
||||
</div>
|
||||
<div class="clear">
|
||||
<hr/>
|
||||
|
@ -167,8 +167,13 @@ execution = rundeck.runAdhocCommand("my-project", "uptime",
|
|||
</pre></div><div class="section"><h3>Exporting jobs<a name="Exporting_jobs"></a></h3></div><div class="source"><pre>import org.rundeck.api.RundeckClient
|
||||
rundeck = RundeckClient.new("http://localhost:4440", "admin", "admin")
|
||||
|
||||
rundeck.exportJobsToFile("/tmp/jobs.xml", "my-project")
|
||||
rundeck.exportJobToFile("/tmp/job.xml", "job-id")
|
||||
rundeck.exportJobsToFile("/tmp/jobs.xml", "xml", "my-project")
|
||||
rundeck.exportJobToFile("/tmp/job.yaml", "yaml", "job-id")
|
||||
</pre></div><div class="section"><h3>Importing jobs<a name="Importing_jobs"></a></h3></div><div class="source"><pre>import org.rundeck.api.RundeckClient
|
||||
rundeck = RundeckClient.new("http://localhost:4440", "admin", "admin")
|
||||
|
||||
result = rundeck.importJobs("/tmp/jobs.xml", "xml")
|
||||
puts "#{result.succeededJobs.size} jobs successfully imported, #{result.skippedJobs.size} jobs skipped, and #{result.failedJobs.size} jobs failed"
|
||||
</pre></div><div class="section"><h3>And more...<a name="And_more..."></a></h3></div><p>See the API documentation of the <a href="./apidocs/org/rundeck/api/RundeckClient.html">RundeckClient</a> class for more interactions with your RunDeck instance...</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue