add jenkinsfile2 and stats script
This commit is contained in:
parent
bee4178c4e
commit
5be17ac1d7
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@ -22,6 +22,7 @@ pipeline {
|
|||||||
environment {
|
environment {
|
||||||
KAGGLE_USERNAME="$params.KAGGLE_USERNAME"
|
KAGGLE_USERNAME="$params.KAGGLE_USERNAME"
|
||||||
KAGGLE_KEY="$params.KAGGLE_KEY"
|
KAGGLE_KEY="$params.KAGGLE_KEY"
|
||||||
|
CUTOFF="$params.CUTOFF"
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
|
19
Jenkinsfile2
Normal file
19
Jenkinsfile2
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
pipeline {
|
||||||
|
agent any
|
||||||
|
parameters{
|
||||||
|
buildSelector(
|
||||||
|
defaultSelector: lastSuccessful(),
|
||||||
|
name: 'BUILD_SELECTOR',
|
||||||
|
description: 'Which build to use for copying artifacts'
|
||||||
|
)
|
||||||
|
}
|
||||||
|
stages {
|
||||||
|
stage("Script") {
|
||||||
|
steps {
|
||||||
|
sh " ./stats.sh"
|
||||||
|
archiveArtifacts 'lines.txt'
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user