From Fedora Project Wiki

(Created page with "{{QA/Test_Case |description= Script console |setup= # Ensure that Jenkins is running. |actions= # run "curl -d 'script=Hudson.instance.version' http://localhost:8080/scriptTe...")
 
Line 10: Line 10:
 
Result: 1.575
 
Result: 1.575
 
</pre>
 
</pre>
 +
# go to http://localhost:8080/script and experiment more:
 +
## for example: "println(Jenkins.instance.pluginManager.plugins)", this should print list of all installed plugins
 
|results=
 
|results=
 
# there should be no failures or stacktraces printed on stdout/stderr
 
# there should be no failures or stacktraces printed on stdout/stderr
 
}}
 
}}

Revision as of 07:10, 2 September 2014

Description

Script console

Setup

  1. Ensure that Jenkins is running.

How to test

  1. run "curl -d 'script=Hudson.instance.version' http://localhost:8080/scriptText"
    1. the output should be Jenkins version, for example:
Result: 1.575
  1. go to http://localhost:8080/script and experiment more:
    1. for example: "println(Jenkins.instance.pluginManager.plugins)", this should print list of all installed plugins

Expected Results

  1. there should be no failures or stacktraces printed on stdout/stderr