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