Seed Job - Picks up incorrect Boolean Operator Classes

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Job DSL boolean operators in singleConditionalBuilder do not work. they appear to pick up incorrect classes

      ERROR: (seed_job.groovy, line 298) No signature of method: javaposse.jobdsl.plugin.structs.DescribableListContext.and() is applicable for argument types: (seed_job$_freestyle_closure6$_closure59$_closure69$_closure71$_closure74, seed_job$_freestyle_closure6$_closure59$_closure69$_closure71$_closure75) values: [seed_job$_freestyle_closure6$_closure59$_closure69$_closure71$_closure74@78db9567, ...]

      `

      singleConditionalBuilder {
      condition {
      and {
      status('ABORTED', 'FAILURE')
      } {
      not {
      fileExists('script.sh', BaseDir.WORKSPACE)
      }
      }
      }
      runner

      { fail() }

      buildStep {
      shell

      { command(job.command) }

      }
      }

      `

       

       

       

       

            Assignee:
            Daniel Spilker
            Reporter:
            James Richardson
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: