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

djencks pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/felix-antora.git


The following commit(s) were added to refs/heads/main by this push:
     new 0834f6c  initial (disabled) Jenkinsfile
0834f6c is described below

commit 0834f6cda48b50d264ca5e93994cae044e01ee84
Author: David Jencks <[email protected]>
AuthorDate: Sun Jul 11 19:02:02 2021 -0700

    initial (disabled) Jenkinsfile
---
 Jenkinsfile | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 0000000..175427b
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,27 @@
+pipeline {
+    agent {
+            label 'git-websites'
+    }
+
+    stages {
+        stage('build') {
+            steps {
+                sh 'rm -rf build'
+// clone the felix-site-pub repo
+                sh 'git clone --depth 1 --branch asf-site 
https://gitbox.apache.org/repos/asf/felix-site-pub.git build/site'
+                dir('build/site') {
+                    sh 'git rm -r .'
+                }
+
+                sh 'npm run plain-install'
+                sh 'npm run build-noclean'
+
+                dir('build/site') {
+                         sh 'git add .'
+                         sh 'echo `git commit -m "site build"`'
+//                  sh 'git push 
https://gitbox.apache.org/repos/asf/felix-site-pub.git asf-site'
+               }
+            }
+        }
+    }
+}
\ No newline at end of file

Reply via email to