Added kaggle test

This commit is contained in:
Tomasz Ziętkiewicz 2022-04-10 13:51:38 +02:00
parent 368cfb1151
commit 32718c0ae7
2 changed files with 9 additions and 1 deletions

View File

@ -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
View File

@ -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'