added docker to jenkinsfiles
This commit is contained in:
parent
cd440e4668
commit
a6c97ca1d5
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@ -6,6 +6,11 @@ pipeline {
|
|||||||
git branch: 'master', url: 'https://git.wmi.amu.edu.pl/s487176/ium_487176'
|
git branch: 'master', url: 'https://git.wmi.amu.edu.pl/s487176/ium_487176'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('Docker'){
|
||||||
|
agent {
|
||||||
|
dockerfile true
|
||||||
|
}
|
||||||
|
}
|
||||||
stage('Run script') {
|
stage('Run script') {
|
||||||
steps {
|
steps {
|
||||||
sh 'sh getdata.sh'
|
sh 'sh getdata.sh'
|
||||||
@ -16,5 +21,8 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -12,6 +12,11 @@ pipeline {
|
|||||||
git branch: 'master', url: 'https://git.wmi.amu.edu.pl/s487176/ium_487176'
|
git branch: 'master', url: 'https://git.wmi.amu.edu.pl/s487176/ium_487176'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('Docker'){
|
||||||
|
agent {
|
||||||
|
dockerfile true
|
||||||
|
}
|
||||||
|
}
|
||||||
stage('Copy Artifacts') {
|
stage('Copy Artifacts') {
|
||||||
steps {
|
steps {
|
||||||
copyArtifacts(
|
copyArtifacts(
|
||||||
|
Loading…
Reference in New Issue
Block a user