Now release will first build and test tbefore generating tags
def utils = new io.fabric8.Utils()
clientsTemplate{
mavenNode {
+
+ container('maven') {
+
checkout scm
readTrusted 'release.groovy'
sh "git remote set-url origin git@github.com:fabric8io/fabric8-maven-plugin.git"
@@ -36,6 +39,10 @@ clientsTemplate{
//stable and all tests are working properly
//before generating tags and pushing it to github
+ sh "mvn clean -B"
+
+ sh "mvn clean install"
+
def stagedProject
//These stage(), release(stagedProject) and
@@ -71,6 +78,8 @@ clientsTemplate{
pipeline.updateDownstreamDependencies(stagedProject)
}
}
+
+ }
}
}
