在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):wololock/jenkine-pipeline-maven-demo开源软件地址(OpenSource Url):https://github.com/wololock/jenkine-pipeline-maven-demo开源编程语言(OpenSource Language):Groovy 71.2%开源软件介绍(OpenSource Introduction):Jenkins Pipeline Maven build demoEx 1: Using Global Tools Configuration#!groovy
pipeline {
agent any
tools {
maven "3.6.0" // You need to add a maven with name "3.6.0" in the Global Tools Configuration page
}
stages {
stage("Build") {
steps {
sh "mvn -version"
sh "mvn clean install"
}
}
}
post {
always {
cleanWs()
}
}
}
Ex 2: Using |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论