Jenkins file to stats
This commit is contained in:
parent
a321c6e19b
commit
9d2c060876
@ -1,5 +1,7 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent {
|
||||||
|
dockerfile true
|
||||||
|
}
|
||||||
parameters {
|
parameters {
|
||||||
buildSelector(
|
buildSelector(
|
||||||
defaultSelector: lastSuccessful(),
|
defaultSelector: lastSuccessful(),
|
||||||
@ -20,7 +22,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage("Calcualte stats") {
|
stage("Calcualte stats") {
|
||||||
steps {
|
steps {
|
||||||
sh "./stats.sh"
|
// sh "./stats.sh"
|
||||||
archiveArtifacts artifacts: "stats.txt"
|
archiveArtifacts artifacts: "stats.txt"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Run with docker
|
# Run with docker
|
||||||
`docker build -t ium .`
|
`docker build -t ium .`
|
||||||
|
|
||||||
`docker run -e KAGGLE_USERNAME='your_kaggle_username' -e KAGGLE_KEY='<your_kaggle_key>' -i ium:latest`
|
`docker run -e KAGGLE_USERNAME='your_kaggle_username' -e KAGGLE_KEY='<your_kaggle_key>' -it ium:latest`
|
||||||
|
@ -15,4 +15,6 @@ print("="*10, ' data.median() ', 10*'=')
|
|||||||
print(data.median())
|
print(data.median())
|
||||||
|
|
||||||
print("="*10, ' data.describe(include="all") ', 10*'=')
|
print("="*10, ' data.describe(include="all") ', 10*'=')
|
||||||
print(data.describe(include='all'))
|
print(data.describe(include='all'))
|
||||||
|
|
||||||
|
data.describe(include="all").to_csv(r'stats.txt', header=None, index=None, sep='\t', mode='a')
|
Loading…
Reference in New Issue
Block a user