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