fixed jenkinsfiles
This commit is contained in:
parent
a6c97ca1d5
commit
731e07c356
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -1,16 +1,13 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent {
|
||||||
|
dockerfile true
|
||||||
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Clone repository') {
|
stage('Clone repository') {
|
||||||
steps {
|
steps {
|
||||||
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'
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent {
|
||||||
|
dockerfile true
|
||||||
|
}
|
||||||
parameters{
|
parameters{
|
||||||
buildSelector(
|
buildSelector(
|
||||||
defaultSelector: lastSuccessful(),
|
defaultSelector: lastSuccessful(),
|
||||||
@ -12,11 +14,7 @@ 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