You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by fr...@apache.org on 2019/06/09 07:07:25 UTC

[calcite] branch test-site updated (3e087d9 -> 3aa2f78)

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

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


 discard 3e087d9  Add Jenkinsfile for automated site build
     new 3aa2f78  Add Jenkinsfile for automated site build

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (3e087d9)
            \
             N -- N -- N   refs/heads/test-site (3aa2f78)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


[calcite] 01/01: Add Jenkinsfile for automated site build

Posted by fr...@apache.org.
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 3aa2f78dd940dd4625157128e31d34b4a7198336
Author: Francis Chuang <fr...@apache.org>
AuthorDate: Sun Jun 9 15:40:40 2019 +1000

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

diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 0000000..4e41ed9
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,40 @@
+pipeline {
+    agent {
+        node {
+            label 'git-websites'
+        }
+    }
+
+    environment {
+        COMPOSE_PROJECT_NAME = "${env.JOB_NAME}-${env.BUILD_ID}"
+    }
+
+    stages {
+        stage('Build') {
+            steps {
+                sh '''
+                    cd site/;
+                    docker-compose run --user 1000:1000 build-site
+                '''
+            }
+        }
+
+        stage('Test') {
+            steps {
+                echo 'Testing.. 1'
+            }
+        }
+
+        stage('Deploy') {
+            steps {
+                echo 'Deploying....'
+            }
+        }
+    }
+
+    post {
+        always {
+            sh "docker-compose down -v"
+        }
+    }
+}
\ No newline at end of file