Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 1 | // Copyright 2017-present Open Networking Foundation |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| 15 | node { |
| 16 | // Need this so that deployment_config has global scope when it's read later |
| 17 | deployment_config = null |
| 18 | } |
| 19 | |
| 20 | pipeline { |
| 21 | /* no label, executor is determined by JJB */ |
| 22 | agent { |
| 23 | label "${params.buildNode}" |
| 24 | } |
| 25 | options { |
| 26 | timeout(time: 180, unit: 'MINUTES') |
| 27 | } |
| 28 | |
| 29 | environment { |
| 30 | KUBECONFIG="$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf" |
| 31 | VOLTCONFIG="$HOME/.volt/config-minimal" |
| 32 | PATH="$WORKSPACE/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
| 33 | } |
| 34 | |
| 35 | stages { |
Suchitra Vemuri | e3bb90d | 2020-09-15 17:15:50 -0700 | [diff] [blame] | 36 | stage('Clone kind-voltha') { |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 37 | steps { |
| 38 | step([$class: 'WsCleanup']) |
Suchitra Vemuri | e3bb90d | 2020-09-15 17:15:50 -0700 | [diff] [blame] | 39 | checkout([ |
| 40 | $class: 'GitSCM', |
| 41 | userRemoteConfigs: [[ |
| 42 | url: "https://gerrit.opencord.org/kind-voltha", |
Matteo Scandolo | a42c6f5 | 2020-09-19 01:35:12 +0000 | [diff] [blame] | 43 | refspec: "${kindVolthaChange}" |
Suchitra Vemuri | e3bb90d | 2020-09-15 17:15:50 -0700 | [diff] [blame] | 44 | ]], |
| 45 | branches: [[ name: "master", ]], |
| 46 | extensions: [ |
| 47 | [$class: 'WipeWorkspace'], |
| 48 | [$class: 'RelativeTargetDirectory', relativeTargetDir: "kind-voltha"], |
| 49 | [$class: 'CloneOption', depth: 0, noTags: false, reference: '', shallow: false], |
| 50 | ], |
| 51 | ]) |
| 52 | } |
| 53 | } |
| 54 | stage('Clone voltha-system-tests') { |
| 55 | steps { |
| 56 | checkout([ |
| 57 | $class: 'GitSCM', |
| 58 | userRemoteConfigs: [[ |
| 59 | url: "https://gerrit.opencord.org/voltha-system-tests", |
Matteo Scandolo | a42c6f5 | 2020-09-19 01:35:12 +0000 | [diff] [blame] | 60 | refspec: "${volthaSystemTestsChange}" |
Suchitra Vemuri | e3bb90d | 2020-09-15 17:15:50 -0700 | [diff] [blame] | 61 | ]], |
Suchitra Vemuri | 1143ae3 | 2021-03-26 01:08:37 +0000 | [diff] [blame] | 62 | branches: [[ name: "${branch}", ]], |
Suchitra Vemuri | e3bb90d | 2020-09-15 17:15:50 -0700 | [diff] [blame] | 63 | extensions: [ |
| 64 | [$class: 'WipeWorkspace'], |
| 65 | [$class: 'RelativeTargetDirectory', relativeTargetDir: "voltha-system-tests"], |
| 66 | [$class: 'CloneOption', depth: 0, noTags: false, reference: '', shallow: false], |
| 67 | ], |
| 68 | ]) |
Hardik Windlass | 81f67dc | 2021-03-05 16:15:42 +0530 | [diff] [blame] | 69 | script { |
| 70 | sh(script:""" |
| 71 | if [ '${volthaSystemTestsChange}' != '' ] ; then |
| 72 | cd $WORKSPACE/voltha-system-tests; |
| 73 | git fetch https://gerrit.opencord.org/voltha-system-tests ${volthaSystemTestsChange} && git checkout FETCH_HEAD |
| 74 | fi |
| 75 | """) |
| 76 | } |
Suchitra Vemuri | e3bb90d | 2020-09-15 17:15:50 -0700 | [diff] [blame] | 77 | } |
| 78 | } |
| 79 | stage('Clone cord-tester') { |
| 80 | steps { |
| 81 | checkout([ |
| 82 | $class: 'GitSCM', |
| 83 | userRemoteConfigs: [[ |
| 84 | url: "https://gerrit.opencord.org/cord-tester", |
Matteo Scandolo | a42c6f5 | 2020-09-19 01:35:12 +0000 | [diff] [blame] | 85 | refspec: "${cordTesterChange}" |
Suchitra Vemuri | e3bb90d | 2020-09-15 17:15:50 -0700 | [diff] [blame] | 86 | ]], |
| 87 | branches: [[ name: "master", ]], |
| 88 | extensions: [ |
| 89 | [$class: 'WipeWorkspace'], |
| 90 | [$class: 'RelativeTargetDirectory', relativeTargetDir: "cord-tester"], |
| 91 | [$class: 'CloneOption', depth: 0, noTags: false, reference: '', shallow: false], |
| 92 | ], |
| 93 | ]) |
| 94 | } |
| 95 | } |
| 96 | // This checkout allows us to show changes in Jenkins |
| 97 | // we only do this on master as we don't branch all the repos for all the releases |
| 98 | // (we should compute the difference by tracking the container version, not the code) |
| 99 | stage('Download All the VOLTHA repos') { |
| 100 | when { |
| 101 | expression { |
| 102 | return "${branch}" == 'master'; |
| 103 | } |
| 104 | } |
| 105 | steps { |
| 106 | checkout(changelog: true, |
| 107 | poll: false, |
| 108 | scm: [$class: 'RepoScm', |
| 109 | manifestRepositoryUrl: "${params.manifestUrl}", |
| 110 | manifestBranch: "${params.branch}", |
| 111 | currentBranch: true, |
| 112 | destinationDir: 'voltha', |
| 113 | forceSync: true, |
| 114 | resetFirst: true, |
| 115 | quiet: true, |
| 116 | jobs: 4, |
| 117 | showAllChanges: true] |
| 118 | ) |
| 119 | } |
| 120 | } |
| 121 | stage ('Initialize') { |
| 122 | steps { |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 123 | sh returnStdout: false, script: "git clone -b master ${cordRepoUrl}/${configBaseDir}" |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 124 | script { |
| 125 | deployment_config = readYaml file: "${configBaseDir}/${configDeploymentDir}/${configFileName}-TT.yaml" |
| 126 | } |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 127 | sh returnStdout: false, script: """ |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 128 | mkdir -p $WORKSPACE/bin |
| 129 | bash <( curl -sfL https://raw.githubusercontent.com/boz/kail/master/godownloader.sh) -b "$WORKSPACE/bin" |
| 130 | cd $WORKSPACE |
| 131 | if [ "${params.branch}" != "master" ]; then |
| 132 | cd $WORKSPACE/kind-voltha |
| 133 | source releases/${params.branch} |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 134 | else |
Suchitra Vemuri | e3bb90d | 2020-09-15 17:15:50 -0700 | [diff] [blame] | 135 | VOLTCTL_VERSION=\$(curl -sSL https://api.github.com/repos/opencord/voltctl/releases/latest | jq -r .tag_name | sed -e 's/^v//g') |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 136 | fi |
| 137 | |
| 138 | HOSTOS=\$(uname -s | tr "[:upper:]" "[:lower:"]) |
| 139 | HOSTARCH=\$(uname -m | tr "[:upper:]" "[:lower:"]) |
| 140 | if [ \$HOSTARCH == "x86_64" ]; then |
| 141 | HOSTARCH="amd64" |
| 142 | fi |
Suchitra Vemuri | e3bb90d | 2020-09-15 17:15:50 -0700 | [diff] [blame] | 143 | curl -o $WORKSPACE/bin/voltctl -sSL https://github.com/opencord/voltctl/releases/download/v\${VOLTCTL_VERSION}/voltctl-\${VOLTCTL_VERSION}-\${HOSTOS}-\${HOSTARCH} |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 144 | chmod 755 $WORKSPACE/bin/voltctl |
| 145 | voltctl version --clientonly |
| 146 | |
Andrea Campanella | 9a95cb7 | 2020-09-03 11:28:35 +0200 | [diff] [blame] | 147 | |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 148 | # Default kind-voltha config doesn't work on ONF demo pod for accessing kvstore. |
| 149 | # The issue is that the mgmt node is also one of the k8s nodes and so port forwarding doesn't work. |
| 150 | # We should change this. In the meantime here is a workaround. |
| 151 | if [ "${params.branch}" == "master" ]; then |
| 152 | set +e |
| 153 | |
| 154 | |
| 155 | # Remove noise from voltha-core logs |
| 156 | voltctl log level set WARN read-write-core#github.com/opencord/voltha-go/db/model |
| 157 | voltctl log level set WARN read-write-core#github.com/opencord/voltha-lib-go/v3/pkg/kafka |
| 158 | # Remove noise from openolt logs |
| 159 | voltctl log level set WARN adapter-open-olt#github.com/opencord/voltha-lib-go/v3/pkg/db |
| 160 | voltctl log level set WARN adapter-open-olt#github.com/opencord/voltha-lib-go/v3/pkg/probe |
| 161 | voltctl log level set WARN adapter-open-olt#github.com/opencord/voltha-lib-go/v3/pkg/kafka |
| 162 | fi |
| 163 | """ |
| 164 | } |
| 165 | } |
| 166 | |
| 167 | stage('Functional Tests') { |
| 168 | environment { |
| 169 | ROBOT_CONFIG_FILE="$WORKSPACE/${configBaseDir}/${configDeploymentDir}/${configFileName}-TT.yaml" |
| 170 | ROBOT_FILE="Voltha_TT_PODTests.robot" |
| 171 | ROBOT_LOGS_DIR="$WORKSPACE/RobotLogs/tt-workflow/FunctionalTests" |
| 172 | } |
| 173 | steps { |
| 174 | sh """ |
Suchitra Vemuri | e3bb90d | 2020-09-15 17:15:50 -0700 | [diff] [blame] | 175 | cd $WORKSPACE/kind-voltha/scripts |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 176 | ./log-collector.sh > /dev/null & |
| 177 | ./log-combine.sh > /dev/null & |
| 178 | |
| 179 | mkdir -p $ROBOT_LOGS_DIR |
| 180 | if ( ${powerSwitch} ); then |
Hardik Windlass | 44461ee | 2021-05-26 07:19:53 +0000 | [diff] [blame] | 181 | 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}" |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 182 | else |
Hardik Windlass | 44461ee | 2021-05-26 07:19:53 +0000 | [diff] [blame] | 183 | 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] | 184 | fi |
Suchitra Vemuri | e3bb90d | 2020-09-15 17:15:50 -0700 | [diff] [blame] | 185 | make -C $WORKSPACE/voltha-system-tests voltha-tt-test || true |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 186 | """ |
| 187 | } |
| 188 | } |
Hardik Windlass | 81f67dc | 2021-03-05 16:15:42 +0530 | [diff] [blame] | 189 | |
| 190 | stage('Failure/Recovery Tests') { |
| 191 | environment { |
| 192 | ROBOT_CONFIG_FILE="$WORKSPACE/${configBaseDir}/${configDeploymentDir}/${configFileName}-TT.yaml" |
| 193 | ROBOT_FILE="Voltha_TT_FailureScenarios.robot" |
| 194 | ROBOT_LOGS_DIR="$WORKSPACE/RobotLogs/tt-workflow/FailureScenarios" |
| 195 | } |
| 196 | steps { |
| 197 | sh """ |
| 198 | mkdir -p $ROBOT_LOGS_DIR |
| 199 | if ( ${powerSwitch} ); then |
| 200 | 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}" |
| 201 | else |
| 202 | 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}" |
| 203 | fi |
| 204 | make -C $WORKSPACE/voltha-system-tests voltha-tt-test || true |
| 205 | """ |
| 206 | } |
| 207 | } |
| 208 | |
Hardik Windlass | 6a233e8 | 2021-05-27 04:08:50 +0000 | [diff] [blame] | 209 | stage('Multi-Tcont Tests') { |
| 210 | environment { |
| 211 | ROBOT_CONFIG_FILE="$WORKSPACE/${configBaseDir}/${configDeploymentDir}/${configFileName}-TT.yaml" |
| 212 | ROBOT_FILE="Voltha_TT_MultiTcontTests.robot" |
| 213 | ROBOT_LOGS_DIR="$WORKSPACE/RobotLogs/tt-workflow/MultiTcontScenarios" |
| 214 | ROBOT_TEST_INPUT_FILE="$WORKSPACE/voltha-system-tests/tests/data/${configFileName}-TT-multi-tcont-tests-input.yaml" |
| 215 | } |
| 216 | steps { |
| 217 | sh """ |
| 218 | mkdir -p $ROBOT_LOGS_DIR |
| 219 | if [ "${params.branch}" == "master" ]; then |
| 220 | if ( ${powerSwitch} ); then |
| 221 | 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} -V $ROBOT_TEST_INPUT_FILE" |
| 222 | else |
| 223 | 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} -V $ROBOT_TEST_INPUT_FILE" |
| 224 | fi |
| 225 | make -C $WORKSPACE/voltha-system-tests voltha-tt-test || true |
| 226 | fi |
| 227 | """ |
| 228 | } |
| 229 | } |
| 230 | |
Suchitra Vemuri | 6cd5423 | 2020-07-09 16:06:55 -0700 | [diff] [blame] | 231 | } |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 232 | post { |
| 233 | always { |
| 234 | sh returnStdout: false, script: ''' |
| 235 | set +e |
| 236 | kubectl get pods --all-namespaces -o jsonpath="{range .items[*].status.containerStatuses[*]}{.image}{'\\n'}" | sort | uniq |
| 237 | kubectl get pods --all-namespaces -o jsonpath="{range .items[*].status.containerStatuses[*]}{.imageID}{'\\n'}" | sort | uniq |
| 238 | kubectl get nodes -o wide |
| 239 | kubectl get pods -n voltha -o wide |
Suchitra Vemuri | 179643b | 2020-11-02 10:06:20 -0800 | [diff] [blame] | 240 | kubectl get pods -o wide |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 241 | |
| 242 | sleep 60 # Wait for log-collector and log-combine to complete |
| 243 | |
| 244 | # Clean up "announcer" pod used by the tests if present |
| 245 | kubectl delete pod announcer || true |
| 246 | |
| 247 | ## Pull out errors from log files |
| 248 | extract_errors_go() { |
| 249 | echo |
| 250 | echo "Error summary for $1:" |
Suchitra Vemuri | e3bb90d | 2020-09-15 17:15:50 -0700 | [diff] [blame] | 251 | grep '"level":"error"' $WORKSPACE/kind-voltha/scripts/logger/combined/$1* |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 252 | echo |
| 253 | } |
| 254 | |
| 255 | extract_errors_python() { |
| 256 | echo |
| 257 | echo "Error summary for $1:" |
Suchitra Vemuri | e3bb90d | 2020-09-15 17:15:50 -0700 | [diff] [blame] | 258 | grep 'ERROR' $WORKSPACE/kind-voltha/scripts/logger/combined/$1* |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 259 | echo |
| 260 | } |
| 261 | |
| 262 | extract_errors_go voltha-rw-core > $WORKSPACE/error-report.log |
| 263 | extract_errors_go adapter-open-olt >> $WORKSPACE/error-report.log |
| 264 | extract_errors_python adapter-open-onu >> $WORKSPACE/error-report.log |
| 265 | extract_errors_python voltha-ofagent >> $WORKSPACE/error-report.log |
| 266 | extract_errors_python onos >> $WORKSPACE/error-report.log |
| 267 | |
Andrea Campanella | 9a95cb7 | 2020-09-03 11:28:35 +0200 | [diff] [blame] | 268 | gzip error-report.log || true |
Andrea Campanella | c9c8068 | 2020-09-30 12:02:01 +0200 | [diff] [blame] | 269 | rm error-report.log || true |
Andrea Campanella | 9a95cb7 | 2020-09-03 11:28:35 +0200 | [diff] [blame] | 270 | |
Suchitra Vemuri | e3bb90d | 2020-09-15 17:15:50 -0700 | [diff] [blame] | 271 | cd $WORKSPACE/kind-voltha/scripts/logger/combined/ |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 272 | tar czf $WORKSPACE/container-logs.tgz * |
Andrea Campanella | c9c8068 | 2020-09-30 12:02:01 +0200 | [diff] [blame] | 273 | rm * || true |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 274 | |
| 275 | cd $WORKSPACE |
| 276 | gzip *-combined.log || true |
Andrea Campanella | c9c8068 | 2020-09-30 12:02:01 +0200 | [diff] [blame] | 277 | rm *-combined.log || true |
Andrea Campanella | a20a933 | 2021-03-09 09:18:42 +0100 | [diff] [blame] | 278 | |
| 279 | # store information on running charts |
| 280 | helm ls > $WORKSPACE/helm-list.txt || true |
| 281 | |
| 282 | # store information on the running pods |
Andrea Campanella | e0c839f | 2021-03-16 17:53:40 +0100 | [diff] [blame] | 283 | kubectl get pods --all-namespaces -o wide > $WORKSPACE/pods.txt || true |
Andrea Campanella | a20a933 | 2021-03-09 09:18:42 +0100 | [diff] [blame] | 284 | kubectl get pods --all-namespaces -o jsonpath="{range .items[*].status.containerStatuses[*]}{.image}{'\\n'}" | sort | uniq | tee $WORKSPACE/pod-images.txt || true |
| 285 | kubectl get pods --all-namespaces -o jsonpath="{range .items[*].status.containerStatuses[*]}{.imageID}{'\\n'}" | sort | uniq | tee $WORKSPACE/pod-imagesId.txt || true |
| 286 | |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 287 | ''' |
| 288 | script { |
| 289 | deployment_config.olts.each { olt -> |
Andrea Campanella | 0d3110c | 2021-01-20 12:25:45 +0100 | [diff] [blame] | 290 | if (olt.type == null || olt.type == "" || olt.type == "openolt") { |
| 291 | sh returnStdout: false, script: """ |
| 292 | sshpass -p ${olt.pass} scp ${olt.user}@${olt.sship}:/var/log/openolt.log $WORKSPACE/openolt-${olt.sship}.log || true |
| 293 | sed -i 's/\\x1b\\[[0-9;]*[a-zA-Z]//g' $WORKSPACE/openolt-${olt.sship}.log # Remove escape sequences |
| 294 | """ |
| 295 | } |
Suchitra Vemuri | 376859a | 2020-07-08 17:04:44 -0700 | [diff] [blame] | 296 | } |
| 297 | } |
| 298 | step([$class: 'RobotPublisher', |
| 299 | disableArchiveOutput: false, |
| 300 | logFileName: '**/log*.html', |
| 301 | otherFiles: '', |
| 302 | outputFileName: '**/output*.xml', |
| 303 | outputPath: 'RobotLogs', |
| 304 | passThreshold: 100, |
| 305 | reportFileName: '**/report*.html', |
| 306 | unstableThreshold: 0 |
| 307 | ]); |
| 308 | archiveArtifacts artifacts: '*.log,*.gz,*.tgz' |
| 309 | } |
| 310 | unstable { |
| 311 | step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: "${notificationEmail}", sendToIndividuals: false]) |
| 312 | } |
| 313 | } |
| 314 | } |