s442673-mlworkshops/Jenkinsfile
2019-05-15 23:48:15 +02:00

26 lines
908 B
Groovy

pipeline {
agent { dockerfile true }
stages {
stage('Stage 1') {
steps {
echo 'Hello world!'
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/s442673/s442673-mlworkshops.git']]])
sh label: '', script: 'chmod 755 ./kody.sh'
sh label: '', script: './kody.sh'
sh label: '', script: 'ls -l'
archiveArtifacts 'plik1'
}
}
stage('Stage 2') {
steps {
echo 'Metryki'
sh label: '', script: 'chmod 755 ./kody-metryki.sh'
sh label: '', script: './kody-metryki.sh'
}
}
}
}