Maven can be integrated in Jenkins Pipeline as a task by using below plugin.
Maven Pipeline Plugin:
https://wiki.jenkins.io/display/JENKINS/Pipeline+Maven+Plugin
After we install this, we will get below option.
with Maven()
{
}
By using this option, we can use Maven as a task, we can get syntax using declarative jenkins pipeline option.
Maven Pipeline Plugin:
https://wiki.jenkins.io/display/JENKINS/Pipeline+Maven+Plugin
After we install this, we will get below option.
with Maven()
{
}
By using this option, we can use Maven as a task, we can get syntax using declarative jenkins pipeline option.
No comments:
Post a Comment