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...") |
No edit summary |
||
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
- Ensure that Jenkins is running.
How to test
- run "curl -d 'script=Hudson.instance.version' http://localhost:8080/scriptText"
- the output should be Jenkins version, for example:
Result: 1.575
- go to http://localhost:8080/script and experiment more:
- for example: "println(Jenkins.instance.pluginManager.plugins)", this should print list of all installed plugins
Expected Results
- there should be no failures or stacktraces printed on stdout/stderr