You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by sa...@apache.org on 2022/11/16 01:58:06 UTC
[geode] 01/01: GEODE-10433: Adding a simple build pipeline for Develop
This is an automated email from the ASF dual-hosted git repository.
sai_boorlagadda pushed a commit to branch feature/GEODE-10433
in repository https://gitbox.apache.org/repos/asf/geode.git
commit 80a2540747ed080ada3701b5a9e3f8fbda80d63a
Author: Sai Boorlagadda <sa...@gmail.com>
AuthorDate: Tue Nov 15 17:57:45 2022 -0800
GEODE-10433: Adding a simple build pipeline for Develop
---
.jenkins/Jenkinsfile | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/.jenkins/Jenkinsfile b/.jenkins/Jenkinsfile
new file mode 100644
index 0000000000..3b48693f2c
--- /dev/null
+++ b/.jenkins/Jenkinsfile
@@ -0,0 +1,32 @@
+// 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
+//
+// https://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.
+
+def doTest(env, target = "test") {
+ sh """./gradlew ${target}"""
+}
+
+pipeline {
+ agent none
+ stages {
+ stage('Build') {
+ agent { label 'ubuntu' }
+ steps {
+ doTest(env)
+ }
+ }
+ }
+}
\ No newline at end of file