up
This commit is contained in:
parent
ec989a253e
commit
fbc9653122
33
Jenkinsfile
vendored
33
Jenkinsfile
vendored
@ -1,11 +1,26 @@
|
||||
pipeline {
|
||||
agent any
|
||||
|
||||
stages {
|
||||
stage('Hello') {
|
||||
steps {
|
||||
echo 'Hello World'
|
||||
}
|
||||
}
|
||||
}
|
||||
agent { dockerfile true }
|
||||
stages {
|
||||
stage('checkoutGit') {
|
||||
steps {
|
||||
git 'https://git.wmi.amu.edu.pl/s426086/s426086-mlworkshops'
|
||||
}
|
||||
}
|
||||
stage('copyArtifacts') {
|
||||
steps {
|
||||
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
|
||||
}
|
||||
}
|
||||
stage('countLines') {
|
||||
steps {
|
||||
sh 'chmod 777 ./countlines.sh'
|
||||
sh './countlines.sh'
|
||||
}
|
||||
}
|
||||
stage('archiveArtifacts') {
|
||||
steps {
|
||||
archiveArtifacts 'cl_result.txt'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
3
countlines.sh
Normal file
3
countlines.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
wc -l wikiniews_results.tsv > countlines_result.txt
|
Loading…
Reference in New Issue
Block a user