hui
This commit is contained in:
parent
c0dc6d7bed
commit
308b8ec2c4
18
Jenkinsfile
vendored
18
Jenkinsfile
vendored
@ -1,29 +1,27 @@
|
||||
pipeline {
|
||||
agent any
|
||||
stages {
|
||||
stage('checkout: Check out from version control') {
|
||||
stage('checkoutGit') {
|
||||
steps {
|
||||
git branch: 'master',
|
||||
url: 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops.git'
|
||||
git 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops'
|
||||
}
|
||||
}
|
||||
stage('copyArtifacts') {
|
||||
steps {
|
||||
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
|
||||
|
||||
}
|
||||
}
|
||||
stage('Count lines'){
|
||||
stage('countLines') {
|
||||
steps {
|
||||
sh('chmod +x ./script.sh')
|
||||
sh('./script.sh')
|
||||
sh 'chmod 777 ./script.sh'
|
||||
sh './script.sh'
|
||||
}
|
||||
}
|
||||
stage('Save result'){
|
||||
stage('archiveArtifacts') {
|
||||
steps {
|
||||
archiveArtifacts 'lines_number.txt'
|
||||
}
|
||||
archiveArtifacts 'countlines_result.txt'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user