Fix Jenkins

This commit is contained in:
Gabriela Pałka 2020-04-03 12:50:27 +02:00
parent 1f93ba7270
commit 936ecddaa4
2 changed files with 13 additions and 2 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

4
Jenkinsfile vendored
View File

@ -1,11 +1,11 @@
pipeline {
agent any
agent { dockerfile true }
stages {
stage('Stage 1') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s407599/s407599-mlworkshops']]])
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval/'
sh label: '', script: 'script.sh wikiniews_results.tsv'
sh label: '', script: './script.sh wikiniews_results.tsv'
archiveArtifacts 'results.txt'
}
}