Details
-
Bug
-
Status: Resolved (View Workflow)
-
Critical
-
Resolution: Not A Defect
-
None
Description
I am getting the above error while running sample script on a project.I am adding that sample script :
pipeline \{ agent any stages \{ stage('Build') \{ steps \{ echo 'Building..' } } stage('Test') \{ steps \{ echo 'Testing..' } } stage('Deploy') \{ steps \{ echo 'Deploying....' } } } }
Please check and let me know
Also have the same issue. Following the guide still results in weird errors.
Error:
java.lang.NoSuchMethodError: No such DSL method 'stage' found among steps
Using Jenkins 2.138.3 on Ubuntu 16.04