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