| --- |
| # ============LICENSE_START======================================================= |
| # Copyright (C) 2019 Nordix Foundation. |
| # ================================================================================ |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| # |
| # SPDX-License-Identifier: Apache-2.0 |
| # ============LICENSE_END========================================================= |
| |
| - project: |
| name: 'cloud-infra-docs' |
| |
| project: 'cloud-infra-docs' |
| |
| stream: |
| - 'master': |
| branch: '{stream}' |
| disabled: true |
| |
| jobs: |
| - 'cloud-infra-verify-docs-{stream}' |
| - 'cloud-infra-merge-docs-{stream}' |
| |
| - job-template: |
| name: 'cloud-infra-verify-docs-{stream}' |
| |
| disabled: '{obj:disabled}' |
| |
| concurrent: true |
| |
| node: 'infra-tools-docker-slave-ubuntu1804' |
| |
| parameters: |
| - project-parameters: |
| project: $GERRIT_PROJECT |
| branch: '{branch}' |
| - nordix-gerrit-parameters |
| - string: |
| name: LINT_TYPE |
| default: 'docs' |
| description: 'Lint type to run' |
| |
| properties: |
| - logrotate |
| |
| wrappers: |
| - build-timeout: |
| timeout: 150 |
| - fix-workspace-permissions |
| |
| scm: |
| - git: |
| url: '$GIT_BASE_SSH/$PROJECT' |
| credentials-id: nordixinfra-nordix-gerrit-ssh |
| branches: |
| - 'refs/heads/{branch}' |
| refspec: $GERRIT_REFSPEC |
| timeout: 15 |
| per-build-tag: false |
| skip-tag: true |
| shallow-clone: false |
| use-author: false |
| ignore-notify: false |
| wipe-workspace: true |
| prune: false |
| clean: |
| after: false |
| before: false |
| choosing-strategy: 'gerrit' |
| submodule: |
| recursive: true |
| tracking: true |
| |
| triggers: |
| - nordix-gerrit-trigger-patchset-created: |
| project: 'infra\/engine|infra\/docs' |
| branch: '{branch}' |
| files: 'docs/**' |
| skip-vote: |
| successful: false |
| failed: false |
| unstable: false |
| notbuilt: false |
| custom-url: '* $JOB_NAME $BUILD_URL' |
| |
| builders: |
| - 'cloud-infra-lint-macro' |
| |
| - job-template: |
| name: 'cloud-infra-merge-docs-{stream}' |
| |
| disabled: '{obj:disabled}' |
| |
| concurrent: false |
| |
| node: 'infra-docs-build' |
| |
| parameters: |
| - project-parameters: |
| project: $GERRIT_PROJECT |
| branch: '{branch}' |
| - nordix-gerrit-parameters |
| - string: |
| name: LINT_TYPE |
| default: 'docs-deploy' |
| description: 'Lint type to run' |
| |
| properties: |
| - logrotate |
| |
| wrappers: |
| - build-timeout: |
| timeout: 150 |
| - fix-workspace-permissions |
| |
| scm: |
| - git: |
| url: '$GIT_BASE_SSH/$PROJECT' |
| credentials-id: nordixinfra-nordix-gerrit-ssh |
| branches: |
| - 'refs/heads/{branch}' |
| refspec: '' |
| timeout: 15 |
| per-build-tag: false |
| skip-tag: true |
| shallow-clone: false |
| use-author: false |
| ignore-notify: false |
| wipe-workspace: 'true' |
| prune: false |
| clean: |
| after: false |
| before: false |
| choosing-strategy: 'default' |
| submodule: |
| recursive: true |
| tracking: true |
| |
| triggers: |
| - nordix-gerrit-trigger-change-merged: |
| project: 'infra\/docs' |
| branch: '{branch}' |
| files: 'docs/**' |
| custom-url: '* $JOB_NAME $BUILD_URL' |
| |
| wrappers: |
| - nordixinfra-jjb-creds-wrapper |
| |
| builders: |
| - 'cloud-infra-lint-macro' |
| |
| # vim: set ts=2 sw=2 expandtab: |