move output file to separated directory

This commit is contained in:
s407323 2019-04-26 12:57:22 +02:00
parent 2cf919b766
commit c68d6d9126
3 changed files with 13 additions and 6 deletions

17
Jenkinsfile vendored
View File

@ -1,7 +1,7 @@
pipeline {
agent { dockerfile true }
stages {
stage('Zadanie 1') {
stage('Zadanie 1 - Jenkins') {
steps {
echo 'Kopiowanie plików z wynikami rozpoznawania mowy z artefaktów projektu ASR-eval'
script {
@ -14,14 +14,21 @@ pipeline {
echo 'Sklonowanie repozytorium git'
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s407323/s407323-mlworkshops']]])
echo 'Wywołanie skryptu shella'
sh 'chmod 755 ./script.sh'
sh './script.sh'
sh 'chmod 755 ./zadanie1/script.sh'
sh './zadanie1/script.sh'
echo 'Zarchiwizowanie wyniku'
archiveArtifacts 'output.txt'
archiveArtifacts 'zadanie1/output.txt'
}
}
stage('Zadanie 2') {
stage('Zadanie 2 - Docker') {
steps {
sh 'gcc --version'
sh 'git --version'
}
}
stage('Zadanie 3 - Metryki') {
steps {
sh 'gcc --version'
sh 'git --version'

View File

@ -1 +0,0 @@
wc -l ASR-eval/wikiniews_results.tsv > output.txt

1
zadanie1/script.sh Normal file
View File

@ -0,0 +1 @@
wc -l ASR-eval/wikiniews_results.tsv > zadanie1/output.txt