This commit is contained in:
Bartosz Szukała 2019-04-26 11:14:36 +02:00
parent d6616430f2
commit 8d84a04f3b
2 changed files with 25 additions and 5 deletions

11
Dockerfile Normal file
View 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

13
Jenkinsfile vendored
View File

@ -1,5 +1,10 @@
node {
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts:
pipeline {
agent { dockerfile true }
stages {
stage('Test') {
steps {
copyArtifacts filter: 'wikiniews_results.tsv',
fingerprintArtifacts:
true, projectName: 'ASR-eval', selector: lastSuccessful()
checkout([$class: 'GitSCM', branches: [[name: '*/master']],
doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg:
@ -8,4 +13,8 @@ doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg:
sh label: '', script: 'chmod 777 counter.sh'
sh label: '', script: './counter.sh'
archiveArtifacts 'txt.txt'
}
}
}
}