update jenkinsfile and jenkinsfile2
This commit is contained in:
parent
f90fa2bed4
commit
f1179e9534
@ -1,7 +1,7 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent {
|
||||||
dockerfile {
|
dockerfile {
|
||||||
additionalBuildArgs "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY} --build-arg CUTOFF=${params.CUTOFF}"
|
additionalBuildArgs "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY} --build-arg CUTOFF=${params.CUTOFF} -t maciejczajka"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
parameters {
|
parameters {
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent {
|
||||||
|
docker {
|
||||||
|
image 'maciejczajka'
|
||||||
|
}
|
||||||
|
}
|
||||||
parameters{
|
parameters{
|
||||||
buildSelector(
|
buildSelector(
|
||||||
defaultSelector: lastSuccessful(),
|
defaultSelector: lastSuccessful(),
|
||||||
@ -10,7 +14,7 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage("Script") {
|
stage("Script") {
|
||||||
steps {
|
steps {
|
||||||
sh "docker run -t czajson99/ium:v9"
|
sh "./stats.sh"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user