s441471-mlworkshops/Jenkinsfile

16 lines
745 B
Plaintext
Raw Normal View History

2019-04-26 10:44:13 +02:00
pipeline {
2019-04-26 12:21:09 +02:00
agent {dockerfile true}
2019-04-26 10:44:13 +02:00
stages {
2019-04-26 11:01:42 +02:00
stage('ASR-eval copy artifacts') {
2019-04-26 10:44:13 +02:00
steps {
2019-04-26 11:01:42 +02:00
copyArtifacts filter: '*', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
2019-04-26 11:24:32 +02:00
//sh 'ls -lah'
2019-04-26 11:14:12 +02:00
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '8cdbf19a-e62d-4807-9112-bc7a8d225074', url: 'https://git.wmi.amu.edu.pl/s441471/s441471-mlworkshops']]])
2019-04-26 11:27:15 +02:00
sh 'chmod 755 ./script.sh'
2019-04-26 11:24:32 +02:00
sh './script.sh'
2019-04-26 11:33:13 +02:00
//sh 'cat '
archiveArtifacts 'output.txt'
2019-04-26 10:44:13 +02:00
}
}
}
}