| 1 | - defaults: |
| 2 | name: efficios-www |
| 3 | project-type: freestyle |
| 4 | node: amd64-rootnode |
| 5 | |
| 6 | builders: |
| 7 | - shell: |
| 8 | !include-raw: scripts/efficios-www/deploy.sh |
| 9 | |
| 10 | description: | |
| 11 | This job is responsible for updating the efficios website. |
| 12 | |
| 13 | <p>Job is managed by Jenkins Job Builder.</p> |
| 14 | |
| 15 | properties: |
| 16 | - build-discarder: |
| 17 | num-to-keep: 5 |
| 18 | scm: |
| 19 | - git: |
| 20 | url: git@git.internal.efficios.com:efficios/efficios-www.git |
| 21 | credentials-id: f3c907b6-7485-49e1-afe1-4df24fac4ca1 |
| 22 | basedir: ./ |
| 23 | skip-tag: true |
| 24 | branches: |
| 25 | - master |
| 26 | |
| 27 | wrappers: |
| 28 | - ansicolor |
| 29 | - timestamps |
| 30 | - credentials-binding: |
| 31 | - ssh-user-private-key: |
| 32 | credential-id: f3c907b6-7485-49e1-afe1-4df24fac4ca1 |
| 33 | key-file-variable: KEY_FILE_VARIABLE |
| 34 | username-variable: USER_NAME_VARIABLE |
| 35 | passphrase-variable: PASSPHRASE_VARIABLE |
| 36 | - file: |
| 37 | credential-id: d023f830-9ab0-409f-b977-8cd0e1944dd5 |
| 38 | variable: HOST_PUBLIC_KEYS |
| 39 | - inject: |
| 40 | properties-content: | |
| 41 | DEPLOY_TARGET=deploy:prod |
| 42 | |
| 43 | - job: |
| 44 | name: dev_review_efficios-www |
| 45 | defaults: efficios-www |
| 46 | |
| 47 | properties: |
| 48 | - build-discarder: |
| 49 | days-to-keep: 1 |
| 50 | - throttle: |
| 51 | option: 'category' |
| 52 | categories: |
| 53 | - 'gerrit-build' |
| 54 | |
| 55 | scm: |
| 56 | - git: |
| 57 | url: ssh://jenkins@review.lttng.org:29418/efficios-www.git |
| 58 | credentials-id: f3c907b6-7485-49e1-afe1-4df24fac4ca1 |
| 59 | basedir: ./ |
| 60 | branches: |
| 61 | - '$GERRIT_REFSPEC' |
| 62 | refspec: 'refs/changes/*:refs/changes/*' |
| 63 | skip-tag: true |
| 64 | |
| 65 | triggers: |
| 66 | - gerrit: |
| 67 | trigger-on: |
| 68 | - comment-added-event: |
| 69 | approval-category: 'CI-Build' |
| 70 | approval-value: 1 |
| 71 | projects: |
| 72 | - project-compare-type: 'PLAIN' |
| 73 | project-pattern: 'efficios-www' |
| 74 | branches: |
| 75 | - branch-compare-type: 'PLAIN' |
| 76 | branch-pattern: 'master' |
| 77 | |
| 78 | wrappers: |
| 79 | - ansicolor |
| 80 | - timestamps |
| 81 | - credentials-binding: |
| 82 | - ssh-user-private-key: |
| 83 | credential-id: f3c907b6-7485-49e1-afe1-4df24fac4ca1 |
| 84 | key-file-variable: KEY_FILE_VARIABLE |
| 85 | username-variable: USER_NAME_VARIABLE |
| 86 | passphrase-variable: PASSPHRASE_VARIABLE |
| 87 | - file: |
| 88 | credential-id: d023f830-9ab0-409f-b977-8cd0e1944dd5 |
| 89 | variable: HOST_PUBLIC_KEYS |
| 90 | - inject: |
| 91 | properties-content: | |
| 92 | DEPLOY_TARGET=deploy:pre |
| 93 | |
| 94 | - job: |
| 95 | name: efficios-www |
| 96 | defaults: efficios-www |
| 97 | |
| 98 | triggers: |
| 99 | - pollscm: |
| 100 | cron: "@hourly" |
| 101 | |
| 102 | publishers: |
| 103 | - archive: |
| 104 | artifacts: 'site/**,prod/**' |
| 105 | follow-symlinks: true |
| 106 | allow-empty: false |
| 107 | - ircbot: |
| 108 | strategy: statechange-only |
| 109 | message-type: summary |
| 110 | matrix-notifier: only-parent |
| 111 | - email-ext: |
| 112 | recipients: 'ci-notification@lists.lttng.org' |
| 113 | reply-to: ci-notification@lists.lttng.org |
| 114 | always: false |
| 115 | unstable: false |
| 116 | first-failure: true |
| 117 | first-unstable: true |
| 118 | not-built: false |
| 119 | aborted: false |
| 120 | regression: false |
| 121 | failure: false |
| 122 | second-failure: false |
| 123 | improvement: false |
| 124 | still-failing: false |
| 125 | success: false |
| 126 | fixed: false |
| 127 | fixed-unhealthy: true |
| 128 | still-unstable: false |
| 129 | pre-build: false |
| 130 | matrix-trigger: only-parent |
| 131 | send-to: |
| 132 | - recipients |