[JIRA] (JENKINS-59344) Jenkinsfile: No such DSL method 'pipeline' found among steps

4 views
Skip to first unread message

lalkotaavinash@gmail.com (JIRA)

unread,
Sep 13, 2019, 8:04:03 AM9/13/19
to jenkinsc...@googlegroups.com
Avinash Lalkota created an issue
 
Jenkins / Bug JENKINS-59344
Jenkinsfile: No such DSL method 'pipeline' found among steps
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: image-2019-09-13-17-25-52-323.png
Components: pipeline
Created: 2019-09-13 12:03
Labels: 2.176.3
Priority: Blocker Blocker
Reporter: Avinash Lalkota

I am using Jenkins ver. 2.176.3

I have not found "pipeline-model-definition" and "workflow-aggregator" plugins

The git repo has multiple branches and below is the Jenkinsfile

pileline {
agent any
stages {
stage ('Prepare'){
steps

{ sh 'rm -rf $JENKINS_HOME/.m2/2.0.0/jars/*' sh 'rm -rf $JENKINS_HOME/.m2/2.0.0/thirdpartyjars/*' }

}
stage ('Compile stage'){
steps{
withMaven(maven : 'maven305')

{ sh 'cd xms-server' sh 'mvn -f ci_pom.xml clean install' }

}
}
stage ('Post install'){
steps

{ sh 'cd ..' sh 'mkdir -p $WORKSPACE/deploy_ready' sh '$WORKSPACE/scripts/artifact_setup.sh $OpcoName' }

}
}
}

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

lalkotaavinash@gmail.com (JIRA)

unread,
Sep 13, 2019, 8:15:02 AM9/13/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages