+ - '$GERRIT_REFSPEC'
+ refspec: 'refs/changes/*:refs/changes/*'
+ skip-tag: true
+
+ properties:
+ - build-discarder:
+ days-to-keep: 1
+ - throttle:
+ option: 'category'
+ categories:
+ - 'gerrit-build'
+
+ triggers:
+ - gerrit:
+ trigger-on:
+ - comment-added-event:
+ approval-category: 'CI-Build'
+ approval-value: 1
+ projects:
+ - project-compare-type: 'PLAIN'
+ project-pattern: 'lttng-www'
+ branches:
+ - branch-compare-type: 'PLAIN'
+ branch-pattern: 'master'
+
+ wrappers:
+ - ansicolor
+ - timestamps
+ - credentials-binding:
+ - file:
+ credential-id: d023f830-9ab0-409f-b977-8cd0e1944dd5
+ variable: HOST_PUBLIC_KEYS
+ - ssh-user-private-key:
+ credential-id: 63a5abb5-9056-47e2-b419-f5946c1b8f08
+ key-file-variable: KEY_FILE_VARIABLE
+ username-variable: USER_NAME_VARIABLE
+ passphrase-variable: PASSPHRASE_VARIABLE
+ - inject:
+ properties-content: |
+ DEPLOY_TARGET=deploy:preprod
+
+- job:
+ name: lttng-www
+ defaults: lttng-www
+
+ triggers:
+ - timed: '@daily'