Repository: logging-parent
Updated Branches:
  refs/heads/master 9d8733f26 -> 497093707


Add minimal jenkins pipeline


Project: http://git-wip-us.apache.org/repos/asf/logging-parent/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-parent/commit/49709370
Tree: http://git-wip-us.apache.org/repos/asf/logging-parent/tree/49709370
Diff: http://git-wip-us.apache.org/repos/asf/logging-parent/diff/49709370

Branch: refs/heads/master
Commit: 497093707619d9957059e464770f5853c04a03f8
Parents: 9d8733f
Author: Matt Sicker <[email protected]>
Authored: Fri Mar 16 09:21:49 2018 -0500
Committer: Matt Sicker <[email protected]>
Committed: Fri Mar 16 09:21:49 2018 -0500

----------------------------------------------------------------------
 .gitignore  |  1 +
 Jenkinsfile | 37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-parent/blob/49709370/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..2f7896d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+target/

http://git-wip-us.apache.org/repos/asf/logging-parent/blob/49709370/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 0000000..c42a689
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,37 @@
+#!groovy
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+pipeline {
+    agent {
+        label 'ubuntu'
+    }
+    stages {
+        stage('Deploy') {
+            steps {
+                withMaven(jdk: 'JDK 1.8 (latest)', maven: 'Maven 3 (latest)') {
+                    ansiColor('xterm') {
+                        sh 'mvn deploy'
+                    }
+                }
+            }
+        }
+    }
+}
+

Reply via email to