From 9d86baba0905e51add9899e2c4ef1d264b4c63b1 Mon Sep 17 00:00:00 2001 From: Bombo Date: Sat, 25 Mar 2023 13:47:31 +0100 Subject: [PATCH] edit Jenkinsfile --- Jenkinsfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0352999..b2451b5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,4 +1,4 @@ -pipeline { +ipeline { agent any //Definijuemy parametry, które będzie można podać podczas wywoływania zadania parameters { @@ -25,5 +25,10 @@ pipeline { archiveArtifacts 'output.txt' } } + stage('Notify') { + steps { + emailext attachLog: true, attachmentsPattern: 'output.txt', body: "${INPUT_TEXT}", subject: 'Hello World!', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms; tomasz.zietkiewicz@amu.edu.pl' + } + } } } \ No newline at end of file