This commit is contained in:
Ufnow 2020-04-21 22:13:40 +02:00
parent 7620e4de29
commit fed201bee4
2 changed files with 16 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

8
Jenkinsfile vendored
View File

@ -1,5 +1,5 @@
pipeline { pipeline {
agent any agent { dockerfile true }
stages { stages {
stage('checkoutGit') { stage('checkoutGit') {
steps { steps {
@ -8,13 +8,13 @@ pipeline {
} }
stage('copyArtifacts') { stage('copyArtifacts') {
steps { steps {
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './s426274-metrics' copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
} }
} }
stage('countLines') { stage('countLines') {
steps { steps {
sh 'chmod 777 ./script.sh' sh 'chmod 777 ./countlines.sh'
sh './script.sh' sh './countlines.sh'
} }
} }
stage('archiveArtifacts') { stage('archiveArtifacts') {