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