CloudBees flow plugin generates the wrong syntax with the syntax link

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: electricflow-plugin
    • None

      Issue:
      When you use the pipeline syntax link to be able to build the proper step inside of a pipeline the syntax format looks like this:

      cloudBeesFlowRunPipeline addParam: '{"pipeline":{"pipelineName":"$NAME","parameters":...', configuration: '$CONFIG', pipelineName: '$NAME', projectName: '$PROJECT'
      

      but this syntax does not work inside of Jenkins and the syntax must be something more like this:

      step([$class: 'ElectricFlowPipelinePublisher',
                  configuration: '$CONFIG',
                  projectName: '$PROJECT',
                  pipelineName: '$NAME',
                  addParam: '{"pipeline":{"pipelineName":"$NAME","parameters":...'
      

      Getting the correct syntax added would be great

            Assignee:
            ElectricFlow ElectricCloud
            Reporter:
            Alex Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: