Zadanie 'Docker'
This commit is contained in:
parent
adfca04103
commit
a17752ac88
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
FROM ubuntu:latest
|
||||
|
||||
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 git clone https://github.com/usnistgov/SCTK.git
|
||||
WORKDIR SCTK
|
||||
RUN make config && make all && make check && make install && make doc
|
||||
ENV PATH=$PATH:/SCTK/bin
|
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -1,18 +1,18 @@
|
||||
|
||||
|
||||
pipeline {
|
||||
agent any
|
||||
agent { dockerfile true }
|
||||
stages {
|
||||
stage('Stage 1') {
|
||||
steps {
|
||||
echo 'Hello world!'
|
||||
echo 'Hello world!'
|
||||
copyArtifacts fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
||||
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '8cdbf19a-e62d-4807-9112-bc7a8d225074', url: 'https://git.wmi.amu.edu.pl/s442673/s442673-mlworkshops.git']]])
|
||||
sh label: '', script: 'chmod 755 ./kody.sh'
|
||||
sh label: '', script: './kody.sh'
|
||||
sh label: '', script: 'ls -l'
|
||||
sh label: '', script: './kody.sh'
|
||||
sh label: '', script: 'ls -l'
|
||||
archiveArtifacts 'plik1'
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user