move output file to separated directory
This commit is contained in:
parent
2cf919b766
commit
c68d6d9126
17
Jenkinsfile
vendored
17
Jenkinsfile
vendored
@ -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'
|
||||
|
1
zadanie1/script.sh
Normal file
1
zadanie1/script.sh
Normal file
@ -0,0 +1 @@
|
||||
wc -l ASR-eval/wikiniews_results.tsv > zadanie1/output.txt
|
Loading…
Reference in New Issue
Block a user