From dd50228f6ccaee2d5ad3c0b8896220d141e92bd8 Mon Sep 17 00:00:00 2001 From: "alicja.m.musial" Date: Fri, 3 Apr 2020 14:07:46 +0200 Subject: [PATCH] dodanie metryk do jenkinsfile --- Jenkinsfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index d207d30..295924c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,6 +21,12 @@ pipeline { sh label: 'count', script: './count.sh' } } + stage('Run metrics counter'){ + steps{ + sh('chmod +x ./metrics.sh') + sh label: 'count', script: './metrics.sh' + } + } stage('Archive artifacts') { steps { archiveArtifacts 'wynik.txt'