Parcourir la source

Update 'Jenkins/master.jenkins'

vmshay il y a 5 ans
Parent
commit
552072eb0d
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      Jenkins/master.jenkins

+ 2 - 1
Jenkins/master.jenkins

@@ -25,6 +25,8 @@ pipeline {
       success {
         echo 'I succeeeded!'
         sh 'cat $JENKINS_HOME/jobs/$JOB_NAME/builds/$BUILD_NUMBER/log > /tmp/success.log'
+		sh 'sed '/8mha/d' success.log >> new.log' >> new.log
+		sh 'getlog --file new.log'
 
       }
       unstable {
@@ -33,7 +35,6 @@ pipeline {
       failure {
         echo 'I failed :((('
         sh 'cat $JENKINS_HOME/jobs/$JOB_NAME/builds/$BUILD_NUMBER/log > /tmp/fail.log'
-        echo $port
       }
       changed {
         echo 'things were different before...'