From 267bc842d8c627fd651135d5df55b5d1c4401b50 Mon Sep 17 00:00:00 2001 From: Vanessa Rene Valderrama Date: Thu, 17 Sep 2020 13:36:57 -0500 Subject: [PATCH] Remove NSH_SFC jobs The TSC has approved the NSH_SFC project for archive. This change is to remove the NSH_SFC jobs. Signed-off-by: Vanessa Rene Valderrama Change-Id: Icf4b306d062971b21544444b2d238b3cc94dc01e --- jjb/nsh_sfc/include-raw-nsh_sfc-build.sh | 44 -- .../include-raw-nsh_sfc-csit-functional-virl.sh | 27 - jjb/nsh_sfc/include-raw-nsh_sfc-csit-perf-hw.sh | 28 - jjb/nsh_sfc/include-raw-nsh_sfc-docs.sh | 49 -- jjb/nsh_sfc/include-raw-nsh_sfc-pkg-push.sh | 44 -- jjb/nsh_sfc/nsh_sfc.yaml | 641 --------------------- 6 files changed, 833 deletions(-) delete mode 100644 jjb/nsh_sfc/include-raw-nsh_sfc-build.sh delete mode 100644 jjb/nsh_sfc/include-raw-nsh_sfc-csit-functional-virl.sh delete mode 100644 jjb/nsh_sfc/include-raw-nsh_sfc-csit-perf-hw.sh delete mode 100644 jjb/nsh_sfc/include-raw-nsh_sfc-docs.sh delete mode 100644 jjb/nsh_sfc/include-raw-nsh_sfc-pkg-push.sh delete mode 100644 jjb/nsh_sfc/nsh_sfc.yaml diff --git a/jjb/nsh_sfc/include-raw-nsh_sfc-build.sh b/jjb/nsh_sfc/include-raw-nsh_sfc-build.sh deleted file mode 100644 index 98cbbd5a9..000000000 --- a/jjb/nsh_sfc/include-raw-nsh_sfc-build.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/bash -# basic build script example -set -e -o pipefail -# do nothing but print the current slave hostname -hostname -export CCACHE_DIR=/tmp/ccache -if [ -d $CCACHE_DIR ];then - echo $CCACHE_DIR exists - du -sk $CCACHE_DIR -else - echo $CCACHE_DIR does not exist. This must be a new slave. -fi - -echo "cat /etc/bootstrap.sha" -if [ -f /etc/bootstrap.sha ];then - cat /etc/bootstrap.sha -else - echo "Cannot find /etc/bootstrap.sha" -fi - -echo "cat /etc/bootstrap-functions.sha" -if [ -f /etc/bootstrap-functions.sha ];then - cat /etc/bootstrap-functions.sha -else - echo "Cannot find /etc/bootstrap-functions.sha" -fi - -echo "sha1sum of this script: ${0}" -sha1sum $0 - -if [ -n "${MVN}" ] -then - export MAVEN_HOME=$(dirname ${MVN})/.. -else - export MAVEN_HOME="/opt/apache/maven/" -fi - -export PATH=${MAVEN_HOME}/bin:${PATH} - -scripts/ci/verify.sh - -echo "*******************************************************************" -echo "* NSH_SFC BUILD SUCCESSFULLY COMPLETED" -echo "*******************************************************************" diff --git a/jjb/nsh_sfc/include-raw-nsh_sfc-csit-functional-virl.sh b/jjb/nsh_sfc/include-raw-nsh_sfc-csit-functional-virl.sh deleted file mode 100644 index f2144c29c..000000000 --- a/jjb/nsh_sfc/include-raw-nsh_sfc-csit-functional-virl.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash -set -xeu -o pipefail - -# Clone csit and start tests -git clone https://gerrit.fd.io/r/csit - -# If the git clone fails, complain clearly and exit -if [ $? != 0 ]; then - echo "Failed to run: git clone https://gerrit.fd.io/r/csit" - exit 1 -fi - -cd csit - -# execute nsh_sfc bootstrap script if it exists -if [ -e bootstrap-nsh_sfc-functional-virl.sh ] -then - # make sure that bootstrap-nsh_sfc-functional-virl.sh is executable - chmod +x bootstrap-nsh_sfc-functional-virl.sh - # run the script - ./bootstrap-nsh_sfc-functional-virl.sh -else - echo 'ERROR: No bootstrap-nsh_sfc-functional-virl.sh found' - exit 1 -fi - -# vim: ts=4 ts=4 sts=4 et : diff --git a/jjb/nsh_sfc/include-raw-nsh_sfc-csit-perf-hw.sh b/jjb/nsh_sfc/include-raw-nsh_sfc-csit-perf-hw.sh deleted file mode 100644 index 98b1d070e..000000000 --- a/jjb/nsh_sfc/include-raw-nsh_sfc-csit-perf-hw.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash - -set -xeu -o pipefail - -# Clone csit and start tests -git clone https://gerrit.fd.io/r/csit - -# If the git clone fails, complain clearly and exit -if [ $? != 0 ]; then - echo "Failed to run: git clone https://gerrit.fd.io/r/csit" - exit 1 -fi - -cd csit - -# execute nsh_sfc bootstrap script if it exists -if [ ! -e bootstrap-verify-perf-nsh_sfc.sh ] -then - echo 'ERROR: No bootstrap-verify-perf-nsh_sfc.sh found' - exit 1 -fi - -# make sure that bootstrap-verify-perf.sh is executable -chmod +x bootstrap-verify-perf-nsh_sfc.sh -# run the script -./bootstrap-verify-perf-nsh_sfc.sh - -# vim: ts=4 ts=4 sts=4 et : diff --git a/jjb/nsh_sfc/include-raw-nsh_sfc-docs.sh b/jjb/nsh_sfc/include-raw-nsh_sfc-docs.sh deleted file mode 100644 index 119a41d41..000000000 --- a/jjb/nsh_sfc/include-raw-nsh_sfc-docs.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/bash -set -xe -o pipefail -[ "$PROJECT_NAME" ] || PROJECT_NAME="nsh_sfc" -[ "$DOCS_REPO_URL" ] || DOCS_REPO_URL="https://nexus.fd.io/content/sites/site" -[ "$PROJECT_PATH" ] || PROJECT_PATH=io/fd/${PROJECT_NAME} -[ "$DOC_DIR" ] || DOC_DIR=build-root/docs/html -[ "$SITE_DIR" ] || SITE_DIR=build-root/docs/deploy-site/ -[ "$RESOURCES_DIR" ] || RESOURCES_DIR=${SITE_DIR}/src/site/resources -[ "$MVN" ] || MVN="/opt/apache/maven/bin/mvn" -[ "$VERSION" ] || VERSION=$(./nsh-plugin/packaging/scripts/version) - -make doxygen -if [[ ${JOB_NAME} == *merge* ]]; then - mkdir -p $(dirname ${RESOURCES_DIR}) - mv -f ${DOC_DIR} ${RESOURCES_DIR} - cd ${SITE_DIR} - find . -type f '(' -name '*.md5' -o -name '*.dot' -o -name '*.map' ')' -delete - cat > pom.xml << EOF - - 4.0.0 - io.fd.${PROJECT_NAME} - docs - 1.0.0 - pom - - - false - - - - - - org.apache.maven.wagon - wagon-webdav-jackrabbit - 2.9 - - - - - - fdio-site - dav:${DOCS_REPO_URL}/${PROJECT_PATH}/${VERSION} - - - -EOF - ${MVN} site:site site:deploy -gs "${GLOBAL_SETTINGS_FILE}" -s "${SETTINGS_FILE}" -T 4C - cd - -fi diff --git a/jjb/nsh_sfc/include-raw-nsh_sfc-pkg-push.sh b/jjb/nsh_sfc/include-raw-nsh_sfc-pkg-push.sh deleted file mode 100644 index 500433e4c..000000000 --- a/jjb/nsh_sfc/include-raw-nsh_sfc-pkg-push.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/bash -# basic build script example -set -e -o pipefail -echo "Looking for jars/debs/rpms to publish" -if [ "${OS}" == "ubuntu1604" ]; then - # Find the files - DEBS=$(find . -type f -iname '*.deb') - echo "Found DEBS=${DEBS}" - for i in $DEBS - do - push_deb "$i" - done - - export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/ - export JAVAC=${JAVA_HOME}/bin/javac - export PATH=${JAVA_HOME}/bin/:${PATH} - cd nsh-plugin/build/java/jvpp - $MVN deploy \ - -gs "$GLOBAL_SETTINGS_FILE" -s "$SETTINGS_FILE" - cd - - -elif [ "${OS}" == "ubuntu1604" ]; then - - # Find the files - DEBS=$(find . -type f -iname '*.deb') - echo "Found DEBS=${DEBS}" - for i in $DEBS - do - push_deb "$i" - done - -elif [ "${OS}" == "centos7" ]; then - # Find the files - RPMS=$(find . -type f -iname '*.rpm') - SRPMS=$(find . -type f -iname '*.srpm') - SRCRPMS=$(find . -type f -name '*.src.rpm') - echo "Found RPMS=${RPMS}" - echo "Found SRPMS=${SRPMS}" - echo "Found SRCRPMS=${SRCRPMS}" - for i in $RPMS $SRPMS $SRCRPMS - do - push_rpm "$i" - done -fi diff --git a/jjb/nsh_sfc/nsh_sfc.yaml b/jjb/nsh_sfc/nsh_sfc.yaml deleted file mode 100644 index 39d879acc..000000000 --- a/jjb/nsh_sfc/nsh_sfc.yaml +++ /dev/null @@ -1,641 +0,0 @@ ---- -- project: - name: nsh_sfc - jobs: - - 'nsh_sfc-verify-{stream}-{os}' - - 'nsh_sfc-merge-{stream}-{os}' - - 'nsh_sfc-integration-{stream}-{os}' - - 'nsh_sfc-verify-image-{stream}-{os}' - - 'nsh_sfc-verify-docs-{stream}' - - 'nsh_sfc-merge-docs-{stream}' - - project: 'nsh_sfc' - os: - - ubuntu1604: - repo-os-part: 'ubuntu.xenial.main' - - centos7: - repo-os-part: 'centos7' - stream: - - master: - branch: 'master' - repo-stream-part: 'master' - - '1609': - branch: 'stable/1609' - repo-stream-part: 'stable.1609' - - '1701': - branch: 'stable/1701' - repo-stream-part: 'stable.1701' - - '1704': - branch: 'stable/1704' - repo-stream-part: 'stable.1704' - - '1707': - branch: 'stable/1707' - repo-stream-part: 'stable.1707' - - '1710': - branch: 'stable/1710' - repo-stream-part: 'stable.1710' - - '1801': - branch: 'stable/1801' - repo-stream-part: 'stable.1801' - - '1804': - branch: 'stable/1804' - repo-stream-part: 'stable.1804' - - '1807': - branch: 'stable/1807' - repo-stream-part: 'stable.1807' -- project: - name: nsh_sfc-misc - jobs: - - 'nsh_sfc-csit-verify-perf-{stream}' - - 'nsh_sfc-csit-verify-func-{stream}-{os}-virl' - - project: 'nsh_sfc' - stream: - - master: - branch: 'master' - repo-stream-part: 'master' - - '1609': - branch: 'stable/1609' - repo-stream-part: 'stable.1609' - - '1701': - branch: 'stable/1701' - repo-stream-part: 'stable.1609' - - '1704': - branch: 'stable/1704' - repo-stream-part: 'stable.1704' - - '1707': - branch: 'stable/1707' - repo-stream-part: 'stable.1707' - - os: ubuntu1604 - -- project: - name: nsh-sfc-view - views: - - project-view - project-name: nsh_sfc - -- job-template: - name: 'nsh_sfc-verify-{stream}-{os}' - - project-type: freestyle - node: '{os}-builder-4c-4g' - concurrent: true - jdk: openjdk8-{os} - - build-discarder: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - 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}' - - maven-exec: - maven-version: 'mvn33-new' - - scm: - - gerrit-trigger-scm: - credentials-id: 'jenkins-gerrit-credentials' - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - fdio-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: '{project}' - branch: '{branch}' - - builders: - - maven-target: - maven-version: 'mvn33-new' - goals: '--version' - settings: 'nsh_sfc-settings' - settings-type: cfp - global-settings: 'global-settings' - global-settings-type: cfp - - config-file-provider: - files: - - file-id: 'nsh_sfc-settings' - variable: 'SETTINGS_FILE' - - file-id: 'global-settings' - variable: 'GLOBAL_SETTINGS_FILE' - - shell: - !include-raw-escape: ../scripts/create_maven_env.sh - - inject: - properties-file: maven_env.txt - - shell: - !include-raw-escape: - - ../scripts/cleanup_vpp_plugin_dev_env.sh - - ../scripts/setup_vpp_plugin_dev_env.sh - - include-raw-nsh_sfc-build.sh - - ../scripts/cleanup_vpp_plugin_dev_env.sh - - publishers: - - fdio-infra-shiplogs: - maven-version: 'mvn33-new' - -- job-template: - name: 'nsh_sfc-verify-image-{stream}-{os}' - - project-type: freestyle - node: '{os}-builder-4c-4g' - concurrent: true - - build-discarder: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - 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}' - - maven-exec: - maven-version: 'mvn33-new' - - scm: - - gerrit-trigger-scm: - credentials-id: 'jenkins-gerrit-credentials' - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - fdio-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'Primary' - trigger-on: - - comment-added-contains-event: - comment-contains-value: 'verify-images' - projects: - - project-compare-type: 'ANT' - project-pattern: '{project}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: true - failed: true - unstable: true - notbuilt: true - - builders: - - maven-target: - maven-version: 'mvn33-new' - goals: '--version' - settings: 'nsh_sfc-settings' - settings-type: cfp - global-settings: 'global-settings' - global-settings-type: cfp - - config-file-provider: - files: - - file-id: 'nsh_sfc-settings' - variable: 'SETTINGS_FILE' - - file-id: 'global-settings' - variable: 'GLOBAL_SETTINGS_FILE' - - shell: - !include-raw-escape: ../scripts/create_maven_env.sh - - inject: - properties-file: maven_env.txt - - shell: - !include-raw-escape: - - ../scripts/cleanup_vpp_plugin_dev_env.sh - - ../scripts/setup_vpp_plugin_dev_env.sh - - include-raw-nsh_sfc-build.sh - - ../scripts/cleanup_vpp_plugin_dev_env.sh - - publishers: - - fdio-infra-shiplogs: - maven-version: 'mvn33-new' - -- job-template: - name: 'nsh_sfc-merge-{stream}-{os}' - - project-type: freestyle - node: '{os}-builder-4c-4g' - jdk: openjdk8-{os} - - build-discarder: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - 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}' - - maven-exec: - maven-version: 'mvn33-new' - - repo-name-parameter: - repo-name: '{repo-stream-part}.{repo-os-part}' - - scm: - - gerrit-trigger-scm: - credentials-id: 'jenkins-gerrit-credentials' - refspec: '' - choosing-strategy: 'default' - - wrappers: - - fdio-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-merged: - name: '{project}' - branch: '{branch}' - - builders: - - maven-target: - maven-version: 'mvn33-new' - goals: '--version' - settings: 'nsh_sfc-settings' - settings-type: cfp - global-settings: 'global-settings' - global-settings-type: cfp - - config-file-provider: - files: - - file-id: 'nsh_sfc-settings' - variable: 'SETTINGS_FILE' - - file-id: 'global-settings' - variable: 'GLOBAL_SETTINGS_FILE' - - shell: - !include-raw-escape: ../scripts/create_maven_env.sh - - inject: - properties-file: maven_env.txt - - shell: - !include-raw-escape: - - ../scripts/cleanup_vpp_plugin_dev_env.sh - - ../scripts/setup_vpp_plugin_dev_env.sh - - include-raw-nsh_sfc-build.sh - - ../scripts/cleanup_vpp_plugin_dev_env.sh - - publishers: - - fdio-infra-shiplogs: - maven-version: 'mvn33-new' - -- job-template: - name: 'nsh_sfc-integration-{stream}-{os}' - - project-type: freestyle - node: '{os}-builder-4c-4g' - jdk: openjdk8-{os} - - build-discarder: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - 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}' - - maven-exec: - maven-version: 'mvn33-new' - - repo-name-parameter: - repo-name: '{repo-stream-part}.{repo-os-part}' - - scm: - - gerrit-trigger-scm: - credentials-id: 'jenkins-gerrit-credentials' - refspec: '' - choosing-strategy: 'default' - - wrappers: - - fdio-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'vpp-merge-{stream}-{os},nsh_sfc-merge-{stream}-{os}' - result: 'success' - - builders: - - maven-target: - maven-version: 'mvn33-new' - goals: '--version' - settings: 'nsh_sfc-settings' - settings-type: cfp - global-settings: 'global-settings' - global-settings-type: cfp - - - config-file-provider: - files: - - file-id: 'nsh_sfc-settings' - variable: 'SETTINGS_FILE' - - file-id: 'global-settings' - variable: 'GLOBAL_SETTINGS_FILE' - - config-file-provider: - files: - - file-id: '.packagecloud' - target: '/home/jenkins/.packagecloud' - - config-file-provider: - files: - - file-id: 'packagecloud_api' - target: '/home/jenkins/packagecloud_api' - - - shell: - !include-raw-escape: ../scripts/create_maven_env.sh - - inject: - properties-file: maven_env.txt - - shell: - !include-raw-escape: - - ../scripts/cleanup_vpp_plugin_dev_env.sh - - ../scripts/setup_vpp_plugin_dev_env.sh - - include-raw-nsh_sfc-build.sh - - ../scripts/cleanup_vpp_plugin_dev_env.sh - - ../scripts/maven_push_functions.sh - - include-raw-nsh_sfc-pkg-push.sh - - shell: - !include-raw-escape: - - ../scripts/packagecloud_push.sh - - publishers: - - fdio-infra-shiplogs: - maven-version: 'mvn33-new' - -- job-template: - name: 'nsh_sfc-verify-docs-{stream}' - - project-type: freestyle - node: ubuntu1604-builder-4c-4g - concurrent: true - jdk: openjdk8-ubuntu1604 - - build-discarder: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameter: - branch: '{branch}' - - maven-exec: - maven-version: 'mvn33-new' - - scm: - - gerrit-trigger-scm: - credentials-id: 'jenkins-gerrit-credentials' - refspec: '' - choosing-strategy: 'default' - - wrappers: - - fdio-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: '{project}' - branch: '{branch}' - - builders: - - maven-target: - maven-version: 'mvn33-new' - goals: '--version' - settings: 'vpp-settings' - settings-type: cfp - global-settings: 'global-settings' - global-settings-type: cfp - - provide-maven-settings: - settings-file: 'vpp-settings' - global-settings-file: 'global-settings' - - shell: - !include-raw-escape: include-raw-nsh_sfc-docs.sh - - publishers: - - fdio-infra-shiplogs: - maven-version: 'mvn33-new' - -- job-template: - name: 'nsh_sfc-merge-docs-{stream}' - - project-type: freestyle - node: '{os}-builder-4c-4g' - concurrent: true - jdk: openjdk8-{os} - archive-artifacts: '**/build-root/docs/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}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameter: - branch: '{branch}' - - os-parameter: - os: 'ubuntu1604' - - maven-exec: - maven-version: 'mvn33-new' - - 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: '' - choosing-strategy: 'default' - - wrappers: - - fdio-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - reverse: - jobs: 'nsh_sfc-merge-{stream}-ubuntu1604' - result: 'success' - - gerrit: - server-name: 'Primary' - trigger-on: - - comment-added-contains-event: - comment-contains-value: 'run-docs' - projects: - - project-compare-type: 'ANT' - project-pattern: '{project}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: true - failed: true - unstable: true - notbuilt: true - - builders: - - maven-target: - maven-version: 'mvn33-new' - goals: '--version' - settings: 'vpp-settings' - settings-type: cfp - global-settings: 'global-settings' - global-settings-type: cfp - - provide-maven-settings: - settings-file: 'vpp-settings' - global-settings-file: 'global-settings' - - shell: - !include-raw-escape: include-raw-nsh_sfc-docs.sh - - publishers: - - fdio-infra-shiplogs: - maven-version: 'mvn33-new' - -- job-template: - name: 'nsh_sfc-csit-verify-perf-{stream}' - - project-type: freestyle - node: '{os}-builder-4c-4g' - concurrent: true - archive-artifacts: '**/csit/archive/*.*' - latest-only: 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}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameter: - branch: '{branch}' - - os-parameter: - os: '{os}' - - repo-name-parameter: - repo-name: '{repo-stream-part}.ubuntu.xenial.main' - - 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-non-activity-timeout: - build-timeout: 30 - - triggers: - - gerrit-trigger-manually-triggered: - name: '{project}' - branch: '{branch}' - comment-trigger-value: 'nsh_sfc_perf' - - builders: - - shell: - !include-raw-escape: include-raw-nsh_sfc-csit-perf-hw.sh - - pulishers: - - robot-report: - output-path: 'csit/archive' - - - fdio-infra-shiplogs: - maven-version: 'mvn33-new' - -- job-template: - name: 'nsh_sfc-csit-verify-func-{stream}-{os}-virl' - - project-type: freestyle - node: '{os}-builder-4c-4g' - concurrent: true - archive-artifacts: '**/csit/archive/*.*' - latest-only: 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}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameter: - branch: '{branch}' - - os-parameter: - os: '{os}' - - repo-name-parameter: - repo-name: '{repo-stream-part}.ubuntu.xenial.main' - - 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: '{build-timeout}' - - triggers: - - gerrit-trigger-manually-triggered: - name: '{project}' - branch: '{branch}' - comment-trigger-value: 'nsh_sfc_func' - - builders: - - shell: - !include-raw-escape: include-raw-nsh_sfc-csit-functional-virl.sh - - publishers: - - robot-report: - output-path: 'csit/archive' - - - fdio-infra-shiplogs: - maven-version: 'mvn33-new' - -- project: - name: nsh_sfc-info - project-name: nsh_sfc - jobs: - - gerrit-info-yaml-verify - build-node: centos7-builder-4c-4g - project: nsh_sfc - branch: master -- 2.16.6