Skip to content

Conditional workflow feature not working while using this plugin #263

@RohanSMore

Description

@RohanSMore

We are using version 0.13.3 of com.linkedin.gradle.hadoop.HadoopPlugin .

We are trying to specify conditions in a job inside workflow as follows:

addJob('javaprocess', 'jobA') {
    baseProperties 'basePropertiesName'
    set properties: [
            'type'     : 'javaprocess',
            'Name'      : 'jobA',
    ]
    depends 'dependentJobId'
    conditions 'all_done'
}

We are getting below error during build:

A problem occurred evaluating script.

Could not find method conditions() for arguments [all_done] on (Job: name = jobA) of type com.linkedin.gradle.hadoopdsl.job.Job.

Following are my queries:

  1. Does the linkedin plugin support conditional workflow parameters?
  2. Is this the correct way to specify conditions in a job and if yes, any idea why we are getting this error.

Please give me the pointers if anybody has idea about this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions