Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-61137

CloudBees flow plugin generates the wrong syntax with the syntax link

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 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

            efpluginsdev ElectricFlow ElectricCloud
            ataylor Alex Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: