Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jenkinsfiles #31

Open
baileyvw opened this issue Jan 22, 2020 · 0 comments
Open

Jenkinsfiles #31

baileyvw opened this issue Jan 22, 2020 · 0 comments

Comments

@baileyvw
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant