Browse Source

disable succes

Владимир Томишинец 5 years ago
parent
commit
589346ee7f
1 changed files with 1 additions and 8 deletions
  1. 1 8
      Jenkinsfile-dev

+ 1 - 8
Jenkinsfile-dev

@@ -94,7 +94,7 @@ pipeline {
                 git commit -m 'Version update'
                 GIT_SSH_COMMAND='ssh -i ${GIT_SSH_KEY} -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' \
                   git push origin master
-                ls"""
+             """
         }
       }
     }
@@ -112,12 +112,5 @@ pipeline {
            to: "${mailto}",
            body: "<b>ATTENTION!!!</b> <b><br> Jenkins job failed.\n\n <b><br>Project Name:</b> ${env.JOB_NAME} <b><br>\nBuild Number:</b> ${env.BUILD_NUMBER} <b><br>\nURL Build:</b> ${RUN_DISPLAY_URL}"
     }
-    success {
-      mail charset: 'UTF-8',
-           subject: "Jenkins build SUSCCESS",
-           mimeType: 'text/html',
-           to: "${mailto}",
-           body: "<b>Congradulations!!!</b> <b><br> Jenkins job succefully finished.\n\n <b><br>Project Name:</b> ${env.JOB_NAME} <b><br>\nBuild Number:</b> ${env.BUILD_NUMBER} <b><br>\nURL Build:</b> ${RUN_DISPLAY_URL}"
-    }
   }
 }