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

9
Jenkinsfile vendored
View File

@ -1,10 +1,11 @@
pipeline { pipeline {
agent any agent any
stages { stages {
stage('Stage 1') { stage('Checkout') {
steps { 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']]])
echo 'Hello world!' }
} 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