You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2019/09/02 11:43:23 UTC
[camel-quarkus] 01/01: Add website build trigger
This is an automated email from the ASF dual-hosted git repository.
zregvart pushed a commit to branch issue/168
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit 05ed25eff8c8568cf91897df0dae87f5d0020fd9
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Mon Sep 2 13:43:07 2019 +0200
Add website build trigger
When a change to any files in the `docs/` directory on the master branch
the `Camel.website` job is triggered to update the website with those
changes.
Fixes #168
---
Jenkinsfile | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/Jenkinsfile b/Jenkinsfile
index 00363a2..f3f0842 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -45,6 +45,17 @@ pipeline {
stages {
+ stage('Website update') {
+ when {
+ branch 'master'
+ changeset 'docs/**/*'
+ }
+
+ steps {
+ build job: 'Camel.website', wait: false
+ }
+ }
+
stage('Build & Deploy') {
when {
branch 'master'