From Fedora Project Wiki

Revision as of 05:03, 30 September 2014 by Msrb (talk | contribs)

Description

Using script console.

Setup

  1. Ensure that Jenkins is up and running

How to test

  1. run: curl -d 'script=Hudson.instance.version' http://localhost:8080/scriptText"
    • the output should be Jenkins version, for example:
Result: 1.581
  1. 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

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