1 Star 0 Fork 0

adu2015/spring-boot-sample-data-jpa-h2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Jenkinsfile 903 Bytes
一键复制 编辑 原始数据 按行查看 历史
Michael Bartsch 提交于 2017-03-21 02:56 +08:00 . Jenkinsfile typo fixed
node {
def mvnHome
stage('Preparation') { // for display purposes
// Get some code from a GitHub repository
git 'https://github.com/michl-b/spring-boot-sample-data-jpa-h2.git'
// Get the Maven tool.
// ** NOTE: This 'M3' Maven tool must be configured
// ** in the global configuration.
mvnHome = tool 'M3'
}
stage('Build') {
// Run the maven build
if (isUnix()) {
sh "'${mvnHome}/bin/mvn' -Dmaven.test.failure.ignore clean package"
} else {
bat(/"${mvnHome}\bin\mvn" -Dmaven.test.failure.ignore clean package/)
}
}
stage('Test') {
// Run the maven test
if (isUnix()) {
sh "'${mvnHome}/bin/mvn' test"
} else {
bat(/"${mvnHome}\bin\mvn" test/)
}
}
stage('Results') {
junit '**/target/surefire-reports/TEST-*.xml'
archive 'target/*.jar'
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/adu2015/spring-boot-sample-data-jpa-h2.git
git@gitee.com:adu2015/spring-boot-sample-data-jpa-h2.git
adu2015
spring-boot-sample-data-jpa-h2
spring-boot-sample-data-jpa-h2
master

搜索帮助