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