Add more stages

This commit is contained in:
Dawid Jurkiewicz 2020-04-03 11:15:13 +02:00
parent c65b15f118
commit 574e48a3d7
2 changed files with 7 additions and 4 deletions

7
Jenkinsfile vendored
View File

@ -1,10 +1,11 @@
pipeline {
agent any
stages {
stage('Stage 1') {
steps {
echo 'Hello world!'
stage('Checkout') {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '8dbda16d-2863-4ee8-8662-3886a4862575', url: 'https://git.wmi.amu.edu.pl/dawjur/dawjur-mlworkshops']]])
}
stage('Copy artifacts') {
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
}
}
}

2
count_lines.sh Normal file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env bash
wc -l $1