Represents the freestyle creation page of classic jenkins.
Methods
-
<inner> createFreestyle(jobName, script [, oncreated])
-
Returns the create freestyle page for a certain job and creates the freestyle job
Parameters:
Name Type Argument Description jobName
String name of the job to configure
script
String the name of the script that shoould be used to be injected. Has to be present in ROOT/src/test/resources/test_scripts
oncreated
function <optional>
callback to be invoke when finished, will expect a traditional node callback function