docker integration v8
This commit is contained in:
parent
d3cfc10455
commit
bee8b8d8ec
@ -12,13 +12,17 @@ node {
|
|||||||
|
|
||||||
}
|
}
|
||||||
stage('Clone repo') {
|
stage('Clone repo') {
|
||||||
checkout([$class: 'GitSCM', branches: [[name: '*/stats']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s434765/ium_434765']]])
|
docker.image('karopa/ium:latest').inside {
|
||||||
copyArtifacts filter: 'data_shuf', fingerprintArtifacts: true, projectName: 's434765-create-dataset', selector: buildParameter("BUILD_SELECTOR")
|
stage('Test') {
|
||||||
sh '''
|
checkout([$class: 'GitSCM', branches: [[name: '*/stats']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s434765/ium_434765']]])
|
||||||
#!/usr/bin/env bash
|
copyArtifacts filter: 'data_shuf', fingerprintArtifacts: true, projectName: 's434765-create-dataset', selector: buildParameter("BUILD_SELECTOR")
|
||||||
chmod 777 get_stats_simple.sh
|
sh '''
|
||||||
./get_stats_simple.sh | tee output.txt
|
#!/usr/bin/env bash
|
||||||
'''
|
chmod 777 get_stats_simple.sh
|
||||||
archiveArtifacts 'output.txt'
|
./get_stats_simple.sh | tee output.txt
|
||||||
}
|
'''
|
||||||
|
archiveArtifacts 'output.txt'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user