I have create a Jenkins Multi Branch pipeline where I have used below script to trigger a declarative steps from Github an Jenkins version 2.222.3.
pipeline {
agent any
stages {
stage ('Compile Stage') {
steps {
withMaven(maven : 'maven_3_5_0') {
sh 'mvn clean compile'
}
}
}
stage ('Testing Stage') {
steps {
withMaven(maven : 'maven_3_5_0') {
sh 'mvn test'
}
}
}
stage ('Deployment Stage') {
steps {
withMaven(maven : 'maven_3_5_0') {
sh 'mvn deploy'
}
}
}
}
}
I have read all the available docs on Jenkins but I am always landing on this weird error
I am not printing Start of pipeline which is highlighted in red in the above picture but it is pulling from somewhere.
Kindly request your kind assistance on fixing it as I am not aware of it
It looks like you're missing a plugin and that's why it doesn't know what the pipeline
means.
The docs recommend https://plugins.jenkins.io/workflow-aggregator/ .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.