From 48094ceb54d1a6775b57c64f1c0f2dfc74d79a74 Mon Sep 17 00:00:00 2001 From: Dawid Jurkiewicz Date: Fri, 3 Apr 2020 14:22:27 +0200 Subject: [PATCH] Add dockerfile an jenkinsfile --- Dockerfile | 9 +++++++++ Jenkinsfile | 16 ++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 Dockerfile create mode 100644 Jenkinsfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3189a0a --- /dev/null +++ b/Dockerfile @@ -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 \ No newline at end of file diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..36cf192 --- /dev/null +++ b/Jenkinsfile @@ -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 + } + } + } +} \ No newline at end of file