[JIRA] (JENKINS-61137) CloudBees flow plugin generates the wrong syntax with the syntax link

0 views
Skip to first unread message

ataylor@cloudbees.com (JIRA)

unread,
Feb 18, 2020, 8:06:02 PM2/18/20
to jenkinsc...@googlegroups.com
Alex Taylor created an issue
 
Jenkins / Bug JENKINS-61137
CloudBees flow plugin generates the wrong syntax with the syntax link
Issue Type: Bug Bug
Assignee: ElectricFlow ElectricCloud
Components: electricflow-plugin
Created: 2020-02-19 01:05
Priority: Major Major
Reporter: Alex Taylor

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

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages