1. Create new freestyle job with an execute shell step followed by an execute Groovy script step. Enter dummy commands for the shell and Groovy script steps, save the job.
2. Open the Configure page for the job and delete the execute shell step. The Groovy script is then not rendered correctly. The job has to be saved and then the configure page re-opened to enable the Groovy to be rendered correctly.