Added kaggle test
This commit is contained in:
parent
368cfb1151
commit
32718c0ae7
@ -2,6 +2,7 @@ FROM ubuntu:20.04
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt install -y python3 python3-pip
|
||||
RUN pip3 install --user kaggle
|
||||
RUN pip3 install mlflow sklearn dvc 'dvc[ssh]' paramiko
|
||||
#RUN apt install -y sshpass openssh-client
|
||||
#RUN useradd -r -u 111 jenkins
|
||||
|
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -19,6 +19,13 @@ node {
|
||||
|
||||
img.inside('-v /tmp/mlruns:/tmp/mlruns -v /mlruns:/mlruns ') {
|
||||
|
||||
stage("Kaggle"){
|
||||
withCredentials([usernamePassword(credentialsId: '53ff19bf-dbb7-4275-a609-634b57fe0627', passwordVariable: 'KAGGLE_KEY', usernameVariable: 'KAGGLE_USERNAME')]) {
|
||||
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
|
||||
sh 'kaggle datasets list'
|
||||
}
|
||||
}
|
||||
|
||||
// stage('MLflow') {
|
||||
// sh 'ls -l /tmp/mlruns'
|
||||
// sh 'ls -l /mlruns'
|
||||
|
Loading…
Reference in New Issue
Block a user