You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2018/05/11 15:16:22 UTC
[maven-dist-tool] branch master updated: build only on 1 node and
schedule once per day
This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-dist-tool.git
The following commit(s) were added to refs/heads/master by this push:
new 863ab25 build only on 1 node and schedule once per day
863ab25 is described below
commit 863ab25363794946fbeb9b8a2e1093ad1f421e45
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Fri May 11 17:16:20 2018 +0200
build only on 1 node and schedule once per day
---
Jenkinsfile | 37 ++++++++++++++++++++++++++++++++++++-
1 file changed, 36 insertions(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 09ac70f..8b6591b 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -17,4 +17,39 @@
* under the License.
*/
-asfMavenTlpStdBuild()
+pipeline {
+ agent {
+ label 'ubuntu'
+ }
+ triggers {
+ cron('H H * * *')
+ }
+ stages {
+ stage('Check') {
+ when {
+ branch 'master'
+ }
+ steps {
+ withMaven(jdk:'JDK 1.8 (latest)', maven:'Maven 3 (latest)', mavenLocalRepo:'.repository', options: [
+ artifactsPublisher(disabled: true),
+ findbugsPublisher(disabled: true),
+ ]) {
+ sh "mvn -B -e -Preporting -Papache.snapshots -Dscreenshot=false clean install site"
+ }
+ }
+ }
+ }
+ post {
+ always {
+ jenkinsNotify()
+ }
+ }
+ options {
+ buildDiscarder(logRotator(numToKeepStr:'15'))
+ timeout(time: 10, unit: 'MINUTES')
+ skipStagesAfterUnstable()
+ timestamps()
+ disableConcurrentBuilds()
+ ansiColor('xterm')
+ }
+}
--
To stop receiving notification emails like this one, please contact
hboutemy@apache.org.