You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2020/07/18 00:40:07 UTC

[logging-parent] branch master updated: Update pipeline

This is an automated email from the ASF dual-hosted git repository.

mattsicker pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-parent.git


The following commit(s) were added to refs/heads/master by this push:
     new 1a1c2ff  Update pipeline
1a1c2ff is described below

commit 1a1c2ff9a1c60ec2fd19d10b90c74949b6f5c0d6
Author: Matt Sicker <bo...@gmail.com>
AuthorDate: Fri Jul 17 19:39:59 2020 -0500

    Update pipeline
---
 Jenkinsfile | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index c42a689..2a7d4f5 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -22,14 +22,19 @@ pipeline {
     agent {
         label 'ubuntu'
     }
+    tools {
+        maven 'Maven 3 (latest)'
+        jdk 'JDK 1.8 (latest)'
+    }
+    options {
+        ansiColor 'xterm'
+        buildDiscarder logRotator(numToKeepStr: '10')
+        timeout time: 5, unit: 'MINUTES'
+    }
     stages {
         stage('Deploy') {
             steps {
-                withMaven(jdk: 'JDK 1.8 (latest)', maven: 'Maven 3 (latest)') {
-                    ansiColor('xterm') {
-                        sh 'mvn deploy'
-                    }
-                }
+                sh 'mvn deploy'
             }
         }
     }