zadanie doker

This commit is contained in:
szymonj98 2022-04-03 15:05:44 +02:00
parent 6827801773
commit 64fb526675
3 changed files with 7 additions and 3 deletions

6
Jenkinsfile vendored
View File

@ -22,7 +22,11 @@ pipeline {
KAGGLE_KEY="$params.KAGGLE_KEY" KAGGLE_KEY="$params.KAGGLE_KEY"
CUTOFF="$params.CUTOFF" CUTOFF="$params.CUTOFF"
} }
agent any agent {
dockerfile {
additionalBuildArgs '-t ium'
}
}
stages { stages {
stage('Stage 1') { stage('Stage 1') {
steps { steps {

View File

@ -1,6 +1,6 @@
pipeline{ pipeline{
agent { agent {
dockerfile true dockerfile { image 'ium' }
} }
parameters { parameters {
buildSelector( buildSelector(

View File

@ -2,5 +2,5 @@
kaggle datasets download -d tamber/steam-video-games kaggle datasets download -d tamber/steam-video-games
unzip -o steam-video-games.zip unzip -o steam-video-games.zip
> data.csv > data.csv
head -n $CUTOFF steam-200k.csv >> data.csv head -n $CUTOFF steam-200k.csv >> steam-200k.csv