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

java.lang.NoSuchMethodError: No such DSL method 'pipeline' found error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Critical Critical
    • pipeline
    • None

      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

            Unassigned Unassigned
            g_harish_333 harish guntha
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: