up
This commit is contained in:
parent
ec989a253e
commit
fbc9653122
23
Jenkinsfile
vendored
23
Jenkinsfile
vendored
@ -1,10 +1,25 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent { dockerfile true }
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Hello') {
|
stage('checkoutGit') {
|
||||||
steps {
|
steps {
|
||||||
echo 'Hello World'
|
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