Jenkinsfile structure test
This commit is contained in:
parent
2e22e389a6
commit
8509b946a5
@ -1,14 +1,14 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
// properties([[$class: 'GogsProjectProperty', gogsBranchFilter: '', gogsSecret: <object of type hudson.util.Secret>, gogsUsePayload: false], [$class: 'RebuildSettings', autoRebuild: false, rebuildDisabled: false], parameters([string('CUTOFF')]), pipelineTriggers([pollSCM('')])])
|
// properties([[$class: 'GogsProjectProperty', gogsBranchFilter: '', gogsSecret: <object of type hudson.util.Secret>, gogsUsePayload: false], [$class: 'RebuildSettings', autoRebuild: false, rebuildDisabled: false], parameters([string('CUTOFF')]), pipelineTriggers([pollSCM('')])])
|
||||||
|
|
||||||
agent {
|
|
||||||
dockerfile {
|
|
||||||
additionalBuildArgs "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY} -t s478841-create-dataset"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('sh: Shell script') {
|
stage('sh: Shell script') {
|
||||||
|
agent {
|
||||||
|
dockerfile {
|
||||||
|
additionalBuildArgs "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY} -t s478841-create-dataset"
|
||||||
|
}
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 'chmod u+x ./scripts/data_stats.sh'
|
sh 'chmod u+x ./scripts/data_stats.sh'
|
||||||
sh './scripts/data_stats.sh'
|
sh './scripts/data_stats.sh'
|
||||||
|
Loading…
Reference in New Issue
Block a user