Skip to content

Commit

Permalink
Add website build trigger
Browse files Browse the repository at this point in the history
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
  • Loading branch information
zregvart committed Sep 2, 2019
1 parent 37eba37 commit 05ed25e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 05ed25e

Please sign in to comment.