2020-04-03 11:22:15 +02:00
|
|
|
pipeline {
|
2020-04-03 13:51:40 +02:00
|
|
|
agent { dockerfile true }
|
2020-04-03 11:22:15 +02:00
|
|
|
|
|
|
|
stages {
|
|
|
|
stage('Hello') {
|
|
|
|
steps {
|
2020-04-03 13:51:40 +02:00
|
|
|
sh 'node --version'
|
|
|
|
sh 'svn --version'
|
2020-04-03 11:22:15 +02:00
|
|
|
echo 'Hello World'
|
2020-04-03 11:28:54 +02:00
|
|
|
echo 'Trigger Check'
|
2020-04-03 12:29:06 +02:00
|
|
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], gitTool: 'Default', submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s416267/s416267-mlworkshops']]])
|
2020-04-03 12:59:10 +02:00
|
|
|
copyArtifacts fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
2020-04-03 13:05:31 +02:00
|
|
|
sh('chmod +x ./lines.sh')
|
2020-04-03 13:34:31 +02:00
|
|
|
sh('./lines.sh')
|
2020-04-03 12:59:10 +02:00
|
|
|
archiveArtifacts 'lines_number.txt'
|
2020-04-03 11:22:15 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|