You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by dj...@apache.org on 2021/07/20 00:28:59 UTC

[felix-antora-site] branch main updated: Add Jenkinsfile to trigger build

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-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 5de173d  Add Jenkinsfile to trigger build
5de173d is described below

commit 5de173d9207bcfe68e7e914812b91cb93fff89ad
Author: David Jencks <dj...@apache.org>
AuthorDate: Mon Jul 19 17:28:13 2021 -0700

    Add Jenkinsfile to trigger build
---
 Jenkinsfile | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 0000000..2cf13d3
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,16 @@
+pipeline {
+    agent {
+        label 'git-websites'
+    }
+
+    stages {
+        stage('trigger-site-build') {
+//             when {
+//                 branch 'main'
+//                 changeset '**/*.adoc'
+//             }
+
+            steps {
+                triggerRemoteJob remotePathMissing: [$class: 'StopAsFailure'], remotePathUrl: 'jenkins://712657a46c181b3ff60d2c029abcf8b7/Felix/website-build'        }
+    }
+}
\ No newline at end of file