From 190f2147acbe2c5bb9be469f9f9d35b9245b000d Mon Sep 17 00:00:00 2001 From: Karolina Krzywda Date: Fri, 3 Apr 2020 15:13:24 +0200 Subject: [PATCH] Zadanie 1 --- Jenkinsfile | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index ffd6cc0..947594c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,22 @@ pipeline { stages { stage('Stage 1') { steps { - echo 'Hello world!' + checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s437843/s437843-mlworkshops']]]) + } + } + stage('Stage 2') { + steps { + copyArtifacts filter: 'wikiniews_results.tsv ', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful() + } + } + stage('Stage 3') { + steps { + sh label: '', script: '' + } + } + stage('Stage 4') { + steps { + archiveArtifacts 'results.txt' } } }