Merge branch 'master' of https://git.wmi.amu.edu.pl/s434784/ium_434784
This commit is contained in:
commit
0b95b22cfa
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@ -0,0 +1,16 @@
|
||||
FROM ubuntu:latest
|
||||
|
||||
RUN apt update
|
||||
RUN apt install -y python3 python3-pip
|
||||
RUN apt install -y curl
|
||||
|
||||
RUN pip3 install --user pandas
|
||||
RUN pip3 install --user matplotlib
|
||||
RUN pip3 install --user numpy
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./preparations.sh ./
|
||||
COPY ./preprocesing_python.py ./
|
||||
|
||||
# CMD ./preparations.sh
|
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@ -18,9 +18,14 @@ pipeline {
|
||||
}
|
||||
stage('sh: Shell Script') {
|
||||
steps {
|
||||
sh 'chmod +x preparations.sh'
|
||||
sh 'echo ${CUTOFF}'
|
||||
sh './preparations.sh ${CUTOFF}'
|
||||
script {
|
||||
def image = docker.build('dock')
|
||||
image.inside{
|
||||
sh 'chmod +x preparations.sh'
|
||||
sh 'echo ${CUTOFF}'
|
||||
sh './preparations.sh ${CUTOFF}'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('archiveArtifacts'){
|
||||
|
4
stats/Jenkinsfile
vendored
4
stats/Jenkinsfile
vendored
@ -1,5 +1,7 @@
|
||||
pipeline {
|
||||
agent any
|
||||
agent {
|
||||
docker {image 'maciejsobkowiak/ium:1'}
|
||||
}
|
||||
|
||||
stages {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user