Add dockerfile an jenkinsfile
This commit is contained in:
parent
b872fef016
commit
48094ceb54
9
Dockerfile
Normal file
9
Dockerfile
Normal 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
16
Jenkinsfile
vendored
Normal 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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user