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