Merge "Modify logs publisher"
authorVratko Polak <vrpolak@cisco.com>
Wed, 16 Oct 2019 17:41:41 +0000 (17:41 +0000)
committerGerrit Code Review <gerrit@fd.io>
Wed, 16 Oct 2019 17:41:41 +0000 (17:41 +0000)
1  2 
jjb/hicn/hicn.yaml

            - include-raw-hicn-build.sh
  
      publishers:
-       - fdio-infra-shiplogs:
-           maven-version: 'mvn33-new'
+       - lf-infra-publish
  
 +- job-template:
 +    name: 'hicn-arm-verify-{stream}-{os}'
 +
 +    project-type: freestyle
 +    node: '{os}arm-us'
 +    concurrent: true
 +    archive-artifacts: >
 +      **/build/*.deb
 +    allow-empty: 'true'
 +    fingerprint: false
 +    only-if-success: true
 +    default-excludes: false
 +
 +    build-discarder:
 +      daysToKeep: '{build-days-to-keep}'
 +      numToKeep: 100
 +      artifactDaysToKeep: '{build-artifact-days-to-keep}'
 +      artifactNumToKeep: '{build-artifact-num-to-keep}'
 +
 +    parameters:
 +      - project-parameter:
 +          project: '{project}'
 +      - gerrit-parameter:
 +          branch: '{branch}'
 +      - os-parameter:
 +          os: '{os}'
 +      - repo-name-parameter:
 +          repo-name: '{repo-stream-part}.{repo-os-part}'
 +      - stream-parameter:
 +          stream: '{stream}'
 +      - string:
 +          name: ARCHIVE_ARTIFACTS
 +          default: '{archive-artifacts}'
 +          description: Artifacts to archive to the logs server.
 +
 +    scm:
 +      - gerrit-trigger-scm:
 +          credentials-id: 'jenkins-gerrit-credentials'
 +          refspec: '$GERRIT_REFSPEC'
 +          choosing-strategy: 'gerrit'
 +
 +    wrappers:
 +      - fdio-infra-wrappers:
 +          build-timeout: 120
 +
 +    triggers:
 +      - gerrit-trigger-checkstyle:
 +          name: '{project}'
 +          branch: '{branch}'
 +
 +    builders:
 +      - shell:
 +          !include-raw-escape:
 +          - include-raw-hicn-build.sh
 +
 +    publishers:
 +      - fdio-infra-shiplogs:
 +          maven-version: 'mvn33-new'
 +
  - job-template:
      name: 'hicn-merge-{stream}-{os}'