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

francischuang pushed a commit to branch test-site
in repository https://gitbox.apache.org/repos/asf/calcite.git

commit 1422edc1d488f0a6caa5d93100a25031ce589749
Author: Francis Chuang <[email protected]>
AuthorDate: Sun Jun 9 15:40:40 2019 +1000

    Add Jenkinsfile for automated site build
---
 Jenkinsfile | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 0000000..b494b1a
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,30 @@
+pipeline {
+    agent {
+        node {
+            label 'git-websites'
+        }
+    }
+
+    stages {
+        stage('Build') {
+            steps {
+                sh '''
+                    cd site/;
+                    docker-compose run build-site
+                '''
+            }
+        }
+
+        stage('Test') {
+            steps {
+                echo 'Testing.. 1'
+            }
+        }
+
+        stage('Deploy') {
+            steps {
+                echo 'Deploying....'
+            }
+        }
+    }
+}
\ No newline at end of file

Reply via email to