jenkinsfile

This commit is contained in:
unknown 2020-04-03 12:30:49 +02:00
parent adec18a87b
commit 12faa74b3d

9
Jenkinsfile vendored
View File

@ -1,10 +1,13 @@
pipeline {
agent { dockerfile true }
stages {
stage('Test') {
stage('Stage 1') {
steps {
sh 'node --version'
sh 'svn --version'
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s421818/s421818-mlworkshops.git']]])
copyArtifacts fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
sh('chmod 755 ./line_counter.sh')
sh('./line_counter.sh')
archiveArtifacts 'liczba_linii.txt'
}
}
}