download from docker hub?
This commit is contained in:
parent
9d752838d9
commit
766d597dea
@ -16,6 +16,7 @@ pipeline {
|
|||||||
stage('Clone repo') {
|
stage('Clone repo') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
|
//docker.withRegistry("https://hub.docker.com/r/rokoch/ium"){
|
||||||
docker.image("rokoch/ium:01").inside {
|
docker.image("rokoch/ium:01").inside {
|
||||||
sh 'rm -rf ium_426206'
|
sh 'rm -rf ium_426206'
|
||||||
sh 'git clone https://git.wmi.amu.edu.pl/s426206/ium_426206.git'
|
sh 'git clone https://git.wmi.amu.edu.pl/s426206/ium_426206.git'
|
||||||
@ -23,6 +24,7 @@ pipeline {
|
|||||||
sh "ium_426206/stats.sh | tee output.txt"
|
sh "ium_426206/stats.sh | tee output.txt"
|
||||||
archiveArtifacts 'output.txt'
|
archiveArtifacts 'output.txt'
|
||||||
}
|
}
|
||||||
|
//}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user