remove parallel
This commit is contained in:
parent
9a33f5c37a
commit
4f9da283e7
50
Jenkinsfile
vendored
50
Jenkinsfile
vendored
@ -1,34 +1,32 @@
|
||||
pipeline {
|
||||
agent { dockerfile true }
|
||||
stages {
|
||||
parallel(
|
||||
'Zadanie 1 - Jenkins' : {
|
||||
steps {
|
||||
echo 'Kopiowanie plików z wynikami rozpoznawania mowy z artefaktów projektu ASR-eval'
|
||||
script {
|
||||
copyArtifacts filter: '*',
|
||||
fingerprintArtifacts: true,
|
||||
projectName: 'ASR-eval',
|
||||
selector: lastSuccessful(),
|
||||
target: 'ASR-eval/'
|
||||
}
|
||||
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 ./zadanie1/script.sh'
|
||||
sh './zadanie1/script.sh'
|
||||
echo 'Zarchiwizowanie wyniku'
|
||||
archiveArtifacts 'zadanie1/output.txt'
|
||||
}
|
||||
},
|
||||
|
||||
'Zadanie 2 - Docker' : {
|
||||
steps {
|
||||
sh 'gcc --version'
|
||||
sh 'git --version'
|
||||
stage('Zadanie 1 - Jenkins') {
|
||||
steps {
|
||||
echo 'Kopiowanie plików z wynikami rozpoznawania mowy z artefaktów projektu ASR-eval'
|
||||
script {
|
||||
copyArtifacts filter: '*',
|
||||
fingerprintArtifacts: true,
|
||||
projectName: 'ASR-eval',
|
||||
selector: lastSuccessful(),
|
||||
target: 'ASR-eval/'
|
||||
}
|
||||
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 ./zadanie1/script.sh'
|
||||
sh './zadanie1/script.sh'
|
||||
echo 'Zarchiwizowanie wyniku'
|
||||
archiveArtifacts 'zadanie1/output.txt'
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
stage('Zadanie 2 - Docker') {
|
||||
steps {
|
||||
sh 'gcc --version'
|
||||
sh 'git --version'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Zadanie 3 - Metryki') {
|
||||
steps {
|
||||
|
Loading…
Reference in New Issue
Block a user