|
@@ -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...'
|