This commit is contained in:
Małgorzata Schmidt 2019-04-26 12:24:51 +02:00
parent aba39bd029
commit 6f44e8d1b0
2 changed files with 16 additions and 3 deletions

12
Dockerfile Normal file
View File

@ -0,0 +1,12 @@
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

7
Jenkinsfile vendored
View File

@ -1,9 +1,9 @@
pipeline {
agent any
agent { dockerfile true }
stages {
stage('Stage 1') {
stage('Test') {
steps {
copyArtifacts filter: '*', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
copyArtifacts filter: '*', 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/s407608/s407608-mlworkshops']]])
sh 'sh my_shell_script.sh wikiniews_results.tsv > results.txt'
archiveArtifacts 'results.txt'
@ -11,3 +11,4 @@ pipeline {
}
}
}