Joey Armstrong | 56fdfec | 2024-03-01 13:43:36 -0500 | [diff] [blame] | 1 | #!/usr/bin/env groovy |
Joey Armstrong | beef4cd | 2023-01-18 09:59:58 -0500 | [diff] [blame] | 2 | // ----------------------------------------------------------------------- |
Joey Armstrong | 56fdfec | 2024-03-01 13:43:36 -0500 | [diff] [blame] | 3 | // Copyright 2017-2024 Open Networking Foundation Contributors |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 4 | // |
| 5 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | // you may not use this file except in compliance with the License. |
| 7 | // You may obtain a copy of the License at |
| 8 | // |
| 9 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | // |
| 11 | // Unless required by applicable law or agreed to in writing, software |
| 12 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | // See the License for the specific language governing permissions and |
| 15 | // limitations under the License. |
Joey Armstrong | beef4cd | 2023-01-18 09:59:58 -0500 | [diff] [blame] | 16 | // ----------------------------------------------------------------------- |
Joey Armstrong | 56fdfec | 2024-03-01 13:43:36 -0500 | [diff] [blame] | 17 | // SPDX-FileCopyrightText: 2017-2024 Open Networking Foundation Contributors |
| 18 | // SPDX-License-Identifier: Apache-2.0 |
| 19 | // ----------------------------------------------------------------------- |
| 20 | // Entropy: 0fcb5ffa-d1a4-11ee-be5e-9f44b7181764 |
| 21 | // ----------------------------------------------------------------------- |
| 22 | // Intent: |
| 23 | // ----------------------------------------------------------------------- |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 24 | |
Matteo Scandolo | 712514a | 2021-07-20 09:49:09 -0700 | [diff] [blame] | 25 | library identifier: 'cord-jenkins-libraries@master', |
| 26 | retriever: modernSCM([ |
| 27 | $class: 'GitSCMSource', |
| 28 | remote: 'https://gerrit.opencord.org/ci-management.git' |
| 29 | ]) |
| 30 | |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 31 | node { |
| 32 | // Need this so that deployment_config has global scope when it's read later |
| 33 | deployment_config = null |
| 34 | } |
| 35 | |
Hardik Windlass | 7e4e315 | 2021-09-29 06:42:05 +0000 | [diff] [blame] | 36 | def infraNamespace = "infra" |
| 37 | def volthaNamespace = "voltha" |
| 38 | |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 39 | pipeline { |
| 40 | /* no label, executor is determined by JJB */ |
| 41 | agent { |
| 42 | label "${params.buildNode}" |
| 43 | } |
| 44 | options { |
Hardik Windlass | d0f0166 | 2021-09-03 08:07:15 +0000 | [diff] [blame] | 45 | timeout(time: "${timeout}", unit: 'MINUTES') |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 46 | } |
| 47 | |
| 48 | environment { |
| 49 | KUBECONFIG="$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf" |
Jan Klare | ce1bc81 | 2023-09-28 13:15:52 +0200 | [diff] [blame] | 50 | VOLTCONFIG="$HOME/.volt/config" |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 51 | PATH="$WORKSPACE/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
| 52 | } |
| 53 | |
| 54 | stages { |
Suchitra Vemuri | e3bb90d | 2020-09-15 17:15:50 -0700 | [diff] [blame] | 55 | stage('Clone voltha-system-tests') { |
| 56 | steps { |
Hardik Windlass | 13d8e95 | 2021-07-20 09:16:46 +0000 | [diff] [blame] | 57 | step([$class: 'WsCleanup']) |
Suchitra Vemuri | e3bb90d | 2020-09-15 17:15:50 -0700 | [diff] [blame] | 58 | checkout([ |
| 59 | $class: 'GitSCM', |
| 60 | userRemoteConfigs: [[ |
| 61 | url: "https://gerrit.opencord.org/voltha-system-tests", |
Matteo Scandolo | a42c6f5 | 2020-09-19 01:35:12 +0000 | [diff] [blame] | 62 | refspec: "${volthaSystemTestsChange}" |
Suchitra Vemuri | e3bb90d | 2020-09-15 17:15:50 -0700 | [diff] [blame] | 63 | ]], |
Suchitra Vemuri | 1143ae3 | 2021-03-26 01:08:37 +0000 | [diff] [blame] | 64 | branches: [[ name: "${branch}", ]], |
Suchitra Vemuri | e3bb90d | 2020-09-15 17:15:50 -0700 | [diff] [blame] | 65 | extensions: [ |
| 66 | [$class: 'WipeWorkspace'], |
| 67 | [$class: 'RelativeTargetDirectory', relativeTargetDir: "voltha-system-tests"], |
| 68 | [$class: 'CloneOption', depth: 0, noTags: false, reference: '', shallow: false], |
| 69 | ], |
| 70 | ]) |
Hardik Windlass | 81f67dc | 2021-03-05 16:15:42 +0530 | [diff] [blame] | 71 | script { |
| 72 | sh(script:""" |
| 73 | if [ '${volthaSystemTestsChange}' != '' ] ; then |
| 74 | cd $WORKSPACE/voltha-system-tests; |
| 75 | git fetch https://gerrit.opencord.org/voltha-system-tests ${volthaSystemTestsChange} && git checkout FETCH_HEAD |
| 76 | fi |
| 77 | """) |
| 78 | } |
Suchitra Vemuri | e3bb90d | 2020-09-15 17:15:50 -0700 | [diff] [blame] | 79 | } |
| 80 | } |
Suchitra Vemuri | e3bb90d | 2020-09-15 17:15:50 -0700 | [diff] [blame] | 81 | // This checkout allows us to show changes in Jenkins |
| 82 | // we only do this on master as we don't branch all the repos for all the releases |
| 83 | // (we should compute the difference by tracking the container version, not the code) |
| 84 | stage('Download All the VOLTHA repos') { |
| 85 | when { |
| 86 | expression { |
| 87 | return "${branch}" == 'master'; |
| 88 | } |
| 89 | } |
| 90 | steps { |
| 91 | checkout(changelog: true, |
| 92 | poll: false, |
| 93 | scm: [$class: 'RepoScm', |
| 94 | manifestRepositoryUrl: "${params.manifestUrl}", |
| 95 | manifestBranch: "${params.branch}", |
| 96 | currentBranch: true, |
| 97 | destinationDir: 'voltha', |
| 98 | forceSync: true, |
| 99 | resetFirst: true, |
| 100 | quiet: true, |
| 101 | jobs: 4, |
| 102 | showAllChanges: true] |
| 103 | ) |
| 104 | } |
| 105 | } |
Joey Armstrong | beef4cd | 2023-01-18 09:59:58 -0500 | [diff] [blame] | 106 | stage ('Initialize') |
| 107 | { |
| 108 | steps |
| 109 | { |
| 110 | sh returnStdout: false, script: "git clone -b ${branch} ${cordRepoUrl}/${configBaseDir}" |
| 111 | script |
| 112 | { |
| 113 | deployment_config = readYaml file: "${configBaseDir}/${configDeploymentDir}/${configFileName}-TT.yaml" |
| 114 | } |
Joey Armstrong | daa1f0a | 2024-04-03 18:07:59 -0400 | [diff] [blame] | 115 | |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 116 | sh returnStdout: false, script: """ |
Joey Armstrong | beef4cd | 2023-01-18 09:59:58 -0500 | [diff] [blame] | 117 | mkdir -p "$WORKSPACE/bin" |
| 118 | |
| 119 | # install kail |
| 120 | make -C "$WORKSPACE/voltha-system-tests" KAIL_PATH="$WORKSPACE/bin" kail |
Andrea Campanella | 9a95cb7 | 2020-09-03 11:28:35 +0200 | [diff] [blame] | 121 | |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 122 | # Default kind-voltha config doesn't work on ONF demo pod for accessing kvstore. |
| 123 | # The issue is that the mgmt node is also one of the k8s nodes and so port forwarding doesn't work. |
| 124 | # We should change this. In the meantime here is a workaround. |
| 125 | if [ "${params.branch}" == "master" ]; then |
| 126 | set +e |
| 127 | |
| 128 | |
| 129 | # Remove noise from voltha-core logs |
| 130 | voltctl log level set WARN read-write-core#github.com/opencord/voltha-go/db/model |
| 131 | voltctl log level set WARN read-write-core#github.com/opencord/voltha-lib-go/v3/pkg/kafka |
| 132 | # Remove noise from openolt logs |
| 133 | voltctl log level set WARN adapter-open-olt#github.com/opencord/voltha-lib-go/v3/pkg/db |
| 134 | voltctl log level set WARN adapter-open-olt#github.com/opencord/voltha-lib-go/v3/pkg/probe |
| 135 | voltctl log level set WARN adapter-open-olt#github.com/opencord/voltha-lib-go/v3/pkg/kafka |
| 136 | fi |
| 137 | """ |
| 138 | } |
| 139 | } |
| 140 | |
| 141 | stage('Functional Tests') { |
| 142 | environment { |
| 143 | ROBOT_CONFIG_FILE="$WORKSPACE/${configBaseDir}/${configDeploymentDir}/${configFileName}-TT.yaml" |
| 144 | ROBOT_FILE="Voltha_TT_PODTests.robot" |
| 145 | ROBOT_LOGS_DIR="$WORKSPACE/RobotLogs/tt-workflow/FunctionalTests" |
| 146 | } |
| 147 | steps { |
| 148 | sh """ |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 149 | mkdir -p $ROBOT_LOGS_DIR |
| 150 | if ( ${powerSwitch} ); then |
Hardik Windlass | 5f1cd3b | 2021-11-16 04:19:24 +0000 | [diff] [blame] | 151 | export ROBOT_MISC_ARGS="--removekeywords wuks -i functionalTT -i PowerSwitch -i sanityTT -i sanityTT-MCAST -e bbsim -e notready -d $ROBOT_LOGS_DIR -v POD_NAME:${configFileName} -v KUBERNETES_CONFIGS_DIR:$WORKSPACE/${configBaseDir}/${configKubernetesDir} -v container_log_dir:$WORKSPACE -v OLT_ADAPTER_APP_LABEL:${oltAdapterAppLabel}" |
Hardik Windlass | 28a7bd0 | 2022-04-12 13:14:54 +0000 | [diff] [blame] | 152 | if ( ${powerCycleOlt} ); then |
| 153 | ROBOT_MISC_ARGS+=" -v power_cycle_olt:True" |
| 154 | fi |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 155 | else |
Hardik Windlass | 5f1cd3b | 2021-11-16 04:19:24 +0000 | [diff] [blame] | 156 | export ROBOT_MISC_ARGS="--removekeywords wuks -i functionalTT -e PowerSwitch -i sanityTT -i sanityTT-MCAST -e bbsim -e notready -d $ROBOT_LOGS_DIR -v POD_NAME:${configFileName} -v KUBERNETES_CONFIGS_DIR:$WORKSPACE/${configBaseDir}/${configKubernetesDir} -v container_log_dir:$WORKSPACE -v OLT_ADAPTER_APP_LABEL:${oltAdapterAppLabel}" |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 157 | fi |
Andrea Campanella | 79ced32 | 2021-11-03 17:24:26 +0000 | [diff] [blame] | 158 | ROBOT_MISC_ARGS+=" -v NAMESPACE:${volthaNamespace} -v INFRA_NAMESPACE:${infraNamespace}" |
Suchitra Vemuri | e3bb90d | 2020-09-15 17:15:50 -0700 | [diff] [blame] | 159 | make -C $WORKSPACE/voltha-system-tests voltha-tt-test || true |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 160 | """ |
| 161 | } |
| 162 | } |
Hardik Windlass | 81f67dc | 2021-03-05 16:15:42 +0530 | [diff] [blame] | 163 | |
| 164 | stage('Failure/Recovery Tests') { |
| 165 | environment { |
| 166 | ROBOT_CONFIG_FILE="$WORKSPACE/${configBaseDir}/${configDeploymentDir}/${configFileName}-TT.yaml" |
| 167 | ROBOT_FILE="Voltha_TT_FailureScenarios.robot" |
| 168 | ROBOT_LOGS_DIR="$WORKSPACE/RobotLogs/tt-workflow/FailureScenarios" |
| 169 | } |
| 170 | steps { |
| 171 | sh """ |
| 172 | mkdir -p $ROBOT_LOGS_DIR |
Hardik Windlass | 47c4dc1 | 2021-07-02 23:40:03 +0000 | [diff] [blame] | 173 | if [ ${params.enableMultiUni} = false ]; then |
Hardik Windlass | 6598b03 | 2021-07-02 10:12:01 +0000 | [diff] [blame] | 174 | if ( ${powerSwitch} ); then |
| 175 | export ROBOT_MISC_ARGS="--removekeywords wuks -L TRACE -i functionalTT -i PowerSwitch -e bbsim -e notready -d $ROBOT_LOGS_DIR -v POD_NAME:${configFileName} -v KUBERNETES_CONFIGS_DIR:$WORKSPACE/${configBaseDir}/${configKubernetesDir} -v container_log_dir:$WORKSPACE -v OLT_ADAPTER_APP_LABEL:${oltAdapterAppLabel}" |
| 176 | else |
| 177 | export ROBOT_MISC_ARGS="--removekeywords wuks -L TRACE -i functionalTT -e PowerSwitch -e bbsim -e notready -d $ROBOT_LOGS_DIR -v POD_NAME:${configFileName} -v KUBERNETES_CONFIGS_DIR:$WORKSPACE/${configBaseDir}/${configKubernetesDir} -v container_log_dir:$WORKSPACE -v OLT_ADAPTER_APP_LABEL:${oltAdapterAppLabel}" |
| 178 | fi |
Andrea Campanella | 79ced32 | 2021-11-03 17:24:26 +0000 | [diff] [blame] | 179 | ROBOT_MISC_ARGS+=" -v NAMESPACE:${volthaNamespace} -v INFRA_NAMESPACE:${infraNamespace}" |
Hardik Windlass | 6598b03 | 2021-07-02 10:12:01 +0000 | [diff] [blame] | 180 | make -C $WORKSPACE/voltha-system-tests voltha-tt-test || true |
Hardik Windlass | 81f67dc | 2021-03-05 16:15:42 +0530 | [diff] [blame] | 181 | fi |
Hardik Windlass | 81f67dc | 2021-03-05 16:15:42 +0530 | [diff] [blame] | 182 | """ |
| 183 | } |
| 184 | } |
| 185 | |
Hardik Windlass | 6a233e8 | 2021-05-27 04:08:50 +0000 | [diff] [blame] | 186 | stage('Multi-Tcont Tests') { |
Mahir Gunyel | 0793b6f | 2023-11-30 14:52:27 -0800 | [diff] [blame] | 187 | when { |
| 188 | expression { |
| 189 | return params.runMultiTcontTests |
| 190 | } |
| 191 | } |
Hardik Windlass | 6a233e8 | 2021-05-27 04:08:50 +0000 | [diff] [blame] | 192 | environment { |
| 193 | ROBOT_CONFIG_FILE="$WORKSPACE/${configBaseDir}/${configDeploymentDir}/${configFileName}-TT.yaml" |
| 194 | ROBOT_FILE="Voltha_TT_MultiTcontTests.robot" |
| 195 | ROBOT_LOGS_DIR="$WORKSPACE/RobotLogs/tt-workflow/MultiTcontScenarios" |
| 196 | ROBOT_TEST_INPUT_FILE="$WORKSPACE/voltha-system-tests/tests/data/${configFileName}-TT-multi-tcont-tests-input.yaml" |
| 197 | } |
| 198 | steps { |
| 199 | sh """ |
| 200 | mkdir -p $ROBOT_LOGS_DIR |
Hardik Windlass | 92dba5d | 2021-07-14 06:37:44 +0000 | [diff] [blame] | 201 | if [ ${params.enableMultiUni} = false ]; then |
| 202 | if ( ${powerSwitch} ); then |
Hardik Windlass | 5f1cd3b | 2021-11-16 04:19:24 +0000 | [diff] [blame] | 203 | export ROBOT_MISC_ARGS="--removekeywords wuks -L TRACE -i functionalTT -i PowerSwitch -e bbsim -e notready -d $ROBOT_LOGS_DIR -v teardown_device:False -v POD_NAME:${configFileName} -v KUBERNETES_CONFIGS_DIR:$WORKSPACE/${configBaseDir}/${configKubernetesDir} -v container_log_dir:$WORKSPACE -v OLT_ADAPTER_APP_LABEL:${oltAdapterAppLabel} -V $ROBOT_TEST_INPUT_FILE" |
Hardik Windlass | 92dba5d | 2021-07-14 06:37:44 +0000 | [diff] [blame] | 204 | else |
Hardik Windlass | 5f1cd3b | 2021-11-16 04:19:24 +0000 | [diff] [blame] | 205 | export ROBOT_MISC_ARGS="--removekeywords wuks -L TRACE -i functionalTT -e PowerSwitch -e bbsim -e notready -d $ROBOT_LOGS_DIR -v teardown_device:False -v POD_NAME:${configFileName} -v KUBERNETES_CONFIGS_DIR:$WORKSPACE/${configBaseDir}/${configKubernetesDir} -v container_log_dir:$WORKSPACE -v OLT_ADAPTER_APP_LABEL:${oltAdapterAppLabel} -V $ROBOT_TEST_INPUT_FILE" |
| 206 | fi |
| 207 | ROBOT_MISC_ARGS+=" -v NAMESPACE:${volthaNamespace} -v INFRA_NAMESPACE:${infraNamespace}" |
| 208 | make -C $WORKSPACE/voltha-system-tests voltha-tt-test || true |
| 209 | fi |
| 210 | """ |
| 211 | } |
| 212 | } |
| 213 | |
| 214 | stage('Multicast Tests') { |
| 215 | environment { |
| 216 | ROBOT_CONFIG_FILE="$WORKSPACE/${configBaseDir}/${configDeploymentDir}/${configFileName}-TT.yaml" |
| 217 | ROBOT_FILE="Voltha_TT_MulticastTests.robot" |
| 218 | ROBOT_LOGS_DIR="$WORKSPACE/RobotLogs/tt-workflow/MulticastTests" |
| 219 | ROBOT_TEST_INPUT_FILE="$WORKSPACE/voltha-system-tests/tests/data/${configFileName}-TT-multicast-tests-input.yaml" |
| 220 | } |
| 221 | steps { |
| 222 | sh """ |
| 223 | mkdir -p $ROBOT_LOGS_DIR |
| 224 | if [ ${params.enableMultiUni} = true ]; then |
| 225 | if ( ${powerSwitch} ); then |
| 226 | export ROBOT_MISC_ARGS="--removekeywords wuks -i multicastTT -i PowerSwitch -e bbsim -e notready -d $ROBOT_LOGS_DIR -v teardown_device:False -v POD_NAME:${configFileName} -v KUBERNETES_CONFIGS_DIR:$WORKSPACE/${configBaseDir}/${configKubernetesDir} -v container_log_dir:$WORKSPACE -v OLT_ADAPTER_APP_LABEL:${oltAdapterAppLabel} -V $ROBOT_TEST_INPUT_FILE" |
| 227 | else |
| 228 | export ROBOT_MISC_ARGS="--removekeywords wuks -i multicastTT -e PowerSwitch -e bbsim -e notready -d $ROBOT_LOGS_DIR -v teardown_device:False -v POD_NAME:${configFileName} -v KUBERNETES_CONFIGS_DIR:$WORKSPACE/${configBaseDir}/${configKubernetesDir} -v container_log_dir:$WORKSPACE -v OLT_ADAPTER_APP_LABEL:${oltAdapterAppLabel} -V $ROBOT_TEST_INPUT_FILE" |
Hardik Windlass | 6598b03 | 2021-07-02 10:12:01 +0000 | [diff] [blame] | 229 | fi |
Andrea Campanella | 79ced32 | 2021-11-03 17:24:26 +0000 | [diff] [blame] | 230 | ROBOT_MISC_ARGS+=" -v NAMESPACE:${volthaNamespace} -v INFRA_NAMESPACE:${infraNamespace}" |
Hardik Windlass | 92dba5d | 2021-07-14 06:37:44 +0000 | [diff] [blame] | 231 | make -C $WORKSPACE/voltha-system-tests voltha-tt-test || true |
Hardik Windlass | 6a233e8 | 2021-05-27 04:08:50 +0000 | [diff] [blame] | 232 | fi |
| 233 | """ |
| 234 | } |
| 235 | } |
| 236 | |
Suchitra Vemuri | 6cd5423 | 2020-07-09 16:06:55 -0700 | [diff] [blame] | 237 | } |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 238 | post { |
| 239 | always { |
Hardik Windlass | ceb5631 | 2021-07-21 16:12:25 +0000 | [diff] [blame] | 240 | getPodsInfo("$WORKSPACE/pods") |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 241 | sh returnStdout: false, script: ''' |
| 242 | set +e |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 243 | |
Matteo Scandolo | 5e7bd1d | 2021-07-16 13:29:42 -0700 | [diff] [blame] | 244 | # collect logs collected in the Robot Framework StartLogging keyword |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 245 | cd $WORKSPACE |
| 246 | gzip *-combined.log || true |
Andrea Campanella | c9c8068 | 2020-09-30 12:02:01 +0200 | [diff] [blame] | 247 | rm *-combined.log || true |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 248 | ''' |
| 249 | script { |
| 250 | deployment_config.olts.each { olt -> |
Andrea Campanella | 0d3110c | 2021-01-20 12:25:45 +0100 | [diff] [blame] | 251 | if (olt.type == null || olt.type == "" || olt.type == "openolt") { |
| 252 | sh returnStdout: false, script: """ |
| 253 | sshpass -p ${olt.pass} scp ${olt.user}@${olt.sship}:/var/log/openolt.log $WORKSPACE/openolt-${olt.sship}.log || true |
Girish Gowdra | 1cdfeb5 | 2021-10-28 15:12:45 -0700 | [diff] [blame] | 254 | sshpass -p ${olt.pass} scp ${olt.user}@${olt.sship}:/var/log/dev_mgmt_daemon.log $WORKSPACE/dev_mgmt_daemon-${olt.sship}.log || true |
Andrea Campanella | 0d3110c | 2021-01-20 12:25:45 +0100 | [diff] [blame] | 255 | sed -i 's/\\x1b\\[[0-9;]*[a-zA-Z]//g' $WORKSPACE/openolt-${olt.sship}.log # Remove escape sequences |
Girish Gowdra | 1cdfeb5 | 2021-10-28 15:12:45 -0700 | [diff] [blame] | 256 | sed -i 's/\\x1b\\[[0-9;]*[a-zA-Z]//g' $WORKSPACE/dev_mgmt_daemon-${olt.sship}.log # Remove escape sequences |
Andrea Campanella | 0d3110c | 2021-01-20 12:25:45 +0100 | [diff] [blame] | 257 | """ |
| 258 | } |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 259 | } |
| 260 | } |
| 261 | step([$class: 'RobotPublisher', |
| 262 | disableArchiveOutput: false, |
| 263 | logFileName: '**/log*.html', |
| 264 | otherFiles: '', |
| 265 | outputFileName: '**/output*.xml', |
| 266 | outputPath: 'RobotLogs', |
| 267 | passThreshold: 100, |
| 268 | reportFileName: '**/report*.html', |
Andrea Campanella | abc0977 | 2021-06-16 12:08:57 +0200 | [diff] [blame] | 269 | unstableThreshold: 0, |
| 270 | onlyCritical: true |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 271 | ]); |
Matteo Scandolo | 5e7bd1d | 2021-07-16 13:29:42 -0700 | [diff] [blame] | 272 | archiveArtifacts artifacts: '**/*.log,**/*.gz,**/*.tgz,*.txt,pods/*.txt' |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 273 | } |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 274 | } |
| 275 | } |
Joey Armstrong | 56fdfec | 2024-03-01 13:43:36 -0500 | [diff] [blame] | 276 | |
| 277 | // [EOF] |