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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Critical
    • Resolution: Not A Defect
    • pipeline
    • 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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: