shakuzen commented on a change in pull request #15: Jenkinsfile tweaks
URL:
https://github.com/apache/incubator-zipkin-brave-karaf/pull/15#discussion_r252648597
##########
File path: Jenkinsfile
##########
@@ -39,13 +56,38 @@ pipeline {
sh './mvnw clean install'
}
}
- }
+ /*
+ TODO uncomment and finish up the command here once we're ready to
release snapshots
+ stage('Publish snapshot') {
+ when {
+ branch 'master'
+ }
+ steps {
+ sh './mvnw $TODO'
+ }
+ }
+ */
+ }
post {
always {
junit '**/target/surefire-reports/*.xml'
deleteDir()
}
+
+ changed {
+ script {
+ if (env.BRANCH_NAME == 'master') {
Review comment:
Does this or can we distinguish between `master` on forks (e.g. some pull
requests might use the master branch in their fork)?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]