diff options
Diffstat (limited to 'jjb/hicn/hicn-docs.yaml')
-rw-r--r-- | jjb/hicn/hicn-docs.yaml | 89 |
1 files changed, 20 insertions, 69 deletions
diff --git a/jjb/hicn/hicn-docs.yaml b/jjb/hicn/hicn-docs.yaml index 5d748edc..c865faa3 100644 --- a/jjb/hicn/hicn-docs.yaml +++ b/jjb/hicn/hicn-docs.yaml @@ -6,18 +6,17 @@ - "hicn-docs-merge-{stream}-{os}-{executor-arch}" project: "hicn" - os: - - ubuntu2004: - repo-os-part: "ubuntu.focal.main" - + os: ubuntu2004 executor-arch: "x86_64" - stream: - "master": branch: "master" + repo: "hicn" + branch-refspec: "" + - "2210": + branch: "stable/2210" + repo: "2210" branch-refspec: "" - repo-stream-part: "master" - repository-name: "hicn" type: - short - long @@ -28,19 +27,14 @@ project-type: freestyle node: "builder-{os}-prod-{executor-arch}" concurrent: true - archive-artifacts: - - "**/build-doxygen/lib/doc/html/*" - - "**/docs/build/html" allow-empty: "true" fingerprint: false only-if-success: true default-excludes: false - build-discarder: - daysToKeep: "{build-days-to-keep}" - numToKeep: "{build-num-to-keep}" - artifactDaysToKeep: "{build-artifact-days-to-keep}" - artifactNumToKeep: "{build-artifact-num-to-keep}" + properties: + - lf-infra-properties: + build-days-to-keep: "{build-days-to-keep}" parameters: - project-parameter: @@ -51,14 +45,8 @@ refspec: "{branch-refspec}" - os-parameter: os: "{os}" - - maven-exec: - maven-version: "mvn33-new" - stream-parameter: - stream: "{stream}" - - string: - name: ARCHIVE_ARTIFACTS - default: "{archive-artifacts}" - description: Artifacts to archive to the logs server. + stream: "{repo}" scm: - gerrit-trigger-scm: @@ -71,30 +59,17 @@ build-timeout: "{build-timeout}" triggers: - - gerrit-trigger-checkstyle: + - gerrit-trigger-checkstyle-nonvoting: name: "{project}" branch: "{branch}" builders: - - maven-target: - maven-version: "mvn33-new" - goals: "--version" - settings: "hicn-settings" - settings-type: cfp - global-settings: "global-settings" - global-settings-type: cfp - - provide-maven-settings: - settings-file: "hicn-settings" - global-settings-file: "global-settings" - shell: !include-raw-escape: ../scripts/setup_executor_env.sh - - shell: !include-raw-escape: include-raw-hicn-docs.sh + - shell: !include-raw-escape: ../scripts/hicn/docs.sh publishers: + - fdio-infra-publish-docs-7day - fdio-infra-publish - - naginator: - rerun-unstable-builds: false - max-failed-builds: 1 - fixed-delay: 90 - job-template: name: "hicn-docs-merge-{stream}-{os}-{executor-arch}" @@ -102,19 +77,14 @@ project-type: freestyle node: "builder-{os}-prod-{executor-arch}" concurrent: false - archive-artifacts: - - "**/build-doxygen/lib/doc/html/*" - - "**/docs/build/html" allow-empty: "true" fingerprint: false only-if-success: true default-excludes: false - build-discarder: - daysToKeep: "{build-days-to-keep}" - numToKeep: "{build-num-to-keep}" - artifactDaysToKeep: "{build-artifact-days-to-keep}" - artifactNumToKeep: "{build-artifact-num-to-keep}" + properties: + - lf-infra-properties: + build-days-to-keep: "{build-days-to-keep}" parameters: - project-parameter: @@ -125,14 +95,8 @@ refspec: "{branch-refspec}" - os-parameter: os: "{os}" - - maven-exec: - maven-version: "mvn33-new" - stream-parameter: - stream: "{stream}" - - string: - name: ARCHIVE_ARTIFACTS - default: "{archive-artifacts}" - description: Artifacts to archive to the logs server. + stream: "{repo}" scm: - gerrit-trigger-scm: @@ -146,7 +110,7 @@ triggers: - reverse: - jobs: "hicn-merge-{stream}-ubuntu1804" + jobs: "hicn-merge-{stream}-{os}-{executor-arch}" result: "success" - gerrit: server-name: "Primary" @@ -166,22 +130,9 @@ notbuilt: true builders: - - maven-target: - maven-version: "mvn33-new" - goals: "--version" - settings: "hicn-settings" - settings-type: cfp - global-settings: "global-settings" - global-settings-type: cfp - - provide-maven-settings: - settings-file: "hicn-settings" - global-settings-file: "global-settings" - shell: !include-raw-escape: ../scripts/setup_executor_env.sh - - shell: !include-raw-escape: include-raw-hicn-docs.sh + - shell: !include-raw-escape: ../scripts/hicn/docs.sh publishers: + - fdio-infra-publish-docs - fdio-infra-publish - - naginator: - rerun-unstable-builds: false - max-failed-builds: 1 - fixed-delay: 90 |