diff --git a/Jenkinsfile b/Jenkinsfile index 1b037a1..70fd2f1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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' diff --git a/script.sh b/script.sh deleted file mode 100644 index 060be5d..0000000 --- a/script.sh +++ /dev/null @@ -1 +0,0 @@ -wc -l ASR-eval/wikiniews_results.tsv > output.txt \ No newline at end of file diff --git a/zadanie1/script.sh b/zadanie1/script.sh new file mode 100644 index 0000000..a09906e --- /dev/null +++ b/zadanie1/script.sh @@ -0,0 +1 @@ +wc -l ASR-eval/wikiniews_results.tsv > zadanie1/output.txt \ No newline at end of file