Jenkins file to stats
This commit is contained in:
parent
a321c6e19b
commit
9d2c060876
@ -1,5 +1,7 @@
|
||||
pipeline {
|
||||
agent any
|
||||
agent {
|
||||
dockerfile true
|
||||
}
|
||||
parameters {
|
||||
buildSelector(
|
||||
defaultSelector: lastSuccessful(),
|
||||
@ -20,7 +22,7 @@ pipeline {
|
||||
}
|
||||
stage("Calcualte stats") {
|
||||
steps {
|
||||
sh "./stats.sh"
|
||||
// sh "./stats.sh"
|
||||
archiveArtifacts artifacts: "stats.txt"
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Run with docker
|
||||
`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("="*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