You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have just started working through your training videos and the course is great so far. I think i will have more confidence by the time i finish the training, but i am getting error message when i run the pipeline.
curl --user admin:admin -X POST -F "jenkinsfile=<Jenkinsfile" http://192.168.25.137:8080/pipeline-model-converter/validate
Errors encountered validating Jenkinsfile:
WorkflowScript: 25: Step does not take a single required parameter - use named parameters instead @ line 25, column 21.
steps { deploy('dev') }
^
WorkflowScript: 33: Step does not take a single required parameter - use named parameters instead @ line 33, column 21.
steps { deploy('stage') }
^
WorkflowScript: 45: Step does not take a single required parameter - use named parameters instead @ line 45, column 21.
steps { deploy('live') }
my version of jenkins is 2.190
As i am new to jenkins and using pipelines i am not sure how to edit the file to set named parameters to get rig of this error.
Can you help please?
Regards,
Vince bailey
The text was updated successfully, but these errors were encountered:
Hi Cirulls,
I have just started working through your training videos and the course is great so far. I think i will have more confidence by the time i finish the training, but i am getting error message when i run the pipeline.
curl --user admin:admin -X POST -F "jenkinsfile=<Jenkinsfile" http://192.168.25.137:8080/pipeline-model-converter/validate
Errors encountered validating Jenkinsfile:
WorkflowScript: 25: Step does not take a single required parameter - use named parameters instead @ line 25, column 21.
steps { deploy('dev') }
^
WorkflowScript: 33: Step does not take a single required parameter - use named parameters instead @ line 33, column 21.
steps { deploy('stage') }
^
WorkflowScript: 45: Step does not take a single required parameter - use named parameters instead @ line 45, column 21.
steps { deploy('live') }
my version of jenkins is 2.190
As i am new to jenkins and using pipelines i am not sure how to edit the file to set named parameters to get rig of this error.
Can you help please?
Regards,
Vince bailey
The text was updated successfully, but these errors were encountered: