Add dockerfile an jenkinsfile

This commit is contained in:
Dawid Jurkiewicz 2020-04-03 14:22:27 +02:00
parent b872fef016
commit 48094ceb54
2 changed files with 25 additions and 0 deletions

9
Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM python:3
RUN apt update -y && apt install -y make
RUN apt install -y git
RUN apt install -y gcc
RUN gcc --version
RUN apt install -y build-essential
RUN apt install -y moreutils
RUN python --version

16
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,16 @@
pipeline {
agent { dockerfile true }
stages {
stage('Build') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/dawjur/dawjur-mlworkshops-plots.git']]])
copyArtifacts excludes: 'wikinews_results.tsv', fingerprintArtifacts: true, projectName: 'dawjur-metrics', selector: lastSuccessful()
}
}
stage('Plot') {
steps {
echo nic
}
}
}
}