add new job
This commit is contained in:
parent
adbdbef4b5
commit
632d4019fc
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -10,7 +10,7 @@ node {
|
||||
password(defaultValue: '',
|
||||
description: 'Kaggle token',
|
||||
name: 'KAGGLE_KEY'),
|
||||
string(defaultValue: '5000',
|
||||
string(defaultValue: '1000',
|
||||
description: 'Data cutoff',
|
||||
name: 'CUTOFF',
|
||||
trim: false)
|
||||
|
18
Jenkinsfile2
Normal file
18
Jenkinsfile2
Normal file
@ -0,0 +1,18 @@
|
||||
pipeline {
|
||||
agent any
|
||||
parameters {
|
||||
buildSelector(defaultSelector: lastSuccessful(), description: 'Which build to use for copying artifacts', name: 'BUILD_SELECTOR')
|
||||
}
|
||||
stages {
|
||||
stage("One"){
|
||||
steps {
|
||||
copyArtifacts fingerprintArtifacts: true, projectName: 's440058-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
||||
|
||||
sh "chmod 777 ./bash2.sh"
|
||||
sh "./bash2.sh"
|
||||
|
||||
archiveArtifacts "courses.txt"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user