we
This commit is contained in:
parent
6e43f5262c
commit
6ded7a1394
18
Jenkinsfile
vendored
18
Jenkinsfile
vendored
@ -1,25 +1,17 @@
|
||||
pipeline {
|
||||
agent any
|
||||
stages {
|
||||
stage('checkout: Check out from version control') {
|
||||
stage('Checkout') {
|
||||
steps {
|
||||
git branch: 'master',
|
||||
url: 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops.git'
|
||||
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops']]])
|
||||
}
|
||||
}
|
||||
stage('Copy Archive') {
|
||||
stage('Copy artifacts'){
|
||||
steps {
|
||||
script {
|
||||
step ([$class: 'CopyArtifact',
|
||||
filter: "wikiniews_results.tsv",
|
||||
target: 'wikiniews_results.tsv',
|
||||
fingerprintArtifacts: true,
|
||||
projectName: 'ASR-eval',
|
||||
selector: lastSuccessful()]);
|
||||
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Count lines'){
|
||||
stage('Count lines and metrics'){
|
||||
steps {
|
||||
sh('chmod +x ./script.sh')
|
||||
sh('./script.sh')
|
||||
|
Loading…
Reference in New Issue
Block a user