setJobName

On this page
Back to index

Summary

Sets the name of a running job.
jobId
Stringoptional
The primary key of the job, or the name of the job.
newName
Stringrequired
The new name for the job.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.setJobName( newName: "test-newName" /* optional arguments */ )