Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Runs user written groovy code.

...

Environment/Instance Properties

Property Name

Required

Description

 

 

 

Project Properties

Property Name

Required

Description

 

 

 

Inputs

Input Name

Required

Description

FDGROOVY_INP_CODE_SNIPPET

Yes

The groovy code to be executed.
Example:
def sampleDir = new File('DirectoryName')
def sampleDirSize = sampleDir.directorySize()
println sampleDirSize
outputs.put("STATUS", sampleDirSize)

Outputs

Output Name

Required

Description

 

 

 

Artifacts

This operation delegates the consumes/produces artifacts decisions to the workflow developer. Check Consumes Artifacts on the workflow step editor if this operation requires artifacts to be delivered prior to execution of the script. Check Produces Artifacts on the workflow step editor if this operation creates artifacts. The artifacts folder is available via the FD_ARTIFACTS_DIR variable.

...