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

          g_harish_333 harish guntha created issue -
          abayer Andrew Bayer made changes -
          Field Original Value New Value
          Resolution Not A Defect [ 7 ]
          Status Open [ 1 ] Resolved [ 5 ]
          allanlewis Allan Lewis made changes -
          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
          I am getting the above error while running sample script on a project.I am adding that sample script :
          {noformat}
          pipeline \{
           agent any

          stages \{
           stage('Build') \{
           steps \{
           echo 'Building..'
           }
           }
           stage('Test') \{
           steps \{
           echo 'Testing..'
           }
           }
           stage('Deploy') \{
           steps \{
           echo 'Deploying....'
           }
           }
           }
          }
          {noformat}
          Please check and let me know

          People

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

            Dates

              Created:
              Updated:
              Resolved: