From 2e9871f04ed907c775f80aa2e89bfd31e3bb081b Mon Sep 17 00:00:00 2001 From: Kuba Kowalczyk Date: Fri, 26 Apr 2019 11:04:30 +0200 Subject: [PATCH] dockerfile --- Jenkinsfile | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index f741e16..9c6995c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,7 +1,14 @@ -node { - copyArtifacts fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful() - checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '8cdbf19a-e62d-4807-9112-bc7a8d225074', url: 'https://git.wmi.amu.edu.pl/s416094/s416094-mlworkshops']]]) - sh label: '', script: 'chmod 777 counter.sh' - sh label: '', script: './counter.sh' - archiveArtifacts 'output.txt' +pipeline { + agent { dockerfile true } + stages { + stage('Dockerbuild') { + steps { + copyArtifacts fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful() + checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '8cdbf19a-e62d-4807-9112-bc7a8d225074', url: 'https://git.wmi.amu.edu.pl/s416094/s416094-mlworkshops']]]) + sh label: '', script: 'chmod 777 counter.sh' + sh label: '', script: './counter.sh' + archiveArtifacts 'output.txt' + } + } + } } \ No newline at end of file