提交 e741615a 编写于 作者: R ryandawsonuk

we decided to run tests before tagging

上级 cf6347d8
......@@ -40,14 +40,15 @@ pipeline {
// so we can retrieve the version in later steps
sh "echo \$(jx-release-version) > VERSION"
sh "mvn versions:set -DnewVersion=\$(cat VERSION)"
sh 'mvn clean verify'
sh "git add --all"
sh "git commit -m \"Release `cat VERSION`\" --allow-empty"
sh "git tag -fa v\$(cat VERSION) -m \"Release version \$(cat VERSION)\""
sh "git push origin v\$(cat VERSION)"
}
container('maven') {
sh 'mvn clean verify'
sh 'mvn deploy -DskipTests'
sh 'mvn clean deploy -DskipTests'
sh 'export VERSION=`cat VERSION`'
......@@ -91,7 +92,7 @@ pipeline {
sh "echo pushing with update using version \$(cat VERSION)"
sh "updatebot push-version --kind maven org.activiti:activiti-core-dependencies \$(cat VERSION)"
sh "updatebot update-loop"
//sh "updatebot update-loop"
// sh "jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:\$(cat VERSION)"
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册