Skip to content

Commit

Permalink
Fixed urls to curl and xmlstarlet
Browse files Browse the repository at this point in the history
  • Loading branch information
ahonor committed Dec 9, 2010
1 parent 5d4af3c commit 957920f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/en/08-integration/01-chapter9.md
Expand Up @@ -271,9 +271,9 @@ to the CGI script to obtain the artifacts list as an options model
and present the results as a menu to Job users.

The code listing below shows the the CGI script essentially does a
call to the <code>cURL</code> command to retreive the XML document
call to the [curl] command to retreive the XML document
containing the artifacts information and then parses it using
<code>xmlstarlet</code>.
[xmlstarlet].

File listing: hudson-artifacts.cgi

Expand Down Expand Up @@ -306,7 +306,7 @@ File listing: hudson-artifacts.cgi
-t -o "}"

After deploying this script to a CGI enabled directory on the
operations web server, it can be tested directly by requesting it using cUrl.
operations web server, it can be tested directly by requesting it using `curl`.

curl -d "hudsonJob=anvils&artifactPath=/artifact/bin/dist/RPMS/noarch/" \
--get http://opts.acme.com/cgi/hudson-artifacts.cgi
Expand Down Expand Up @@ -374,7 +374,7 @@ File listing: yum-repoquery.cgi
echo '}'

After deploying this script to the CGI enabled directory on the
operations web server, it can be tested directly by requesting it using cUrl.
operations web server, it can be tested directly by requesting it using `curl`.

curl -d "repo=acme&label=Anvils&package=anvils" \
--get http://ops.acme.com/cgi/yum-repoquery.cgi
Expand Down

0 comments on commit 957920f

Please sign in to comment.