diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..bf3941c --- /dev/null +++ b/Dockerfile @@ -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 diff --git a/Jenkinsfile b/Jenkinsfile index ff8aaeb..cdd5fbc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,11 +1,20 @@ -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: -[], userRemoteConfigs: [[url: +checkout([$class: 'GitSCM', branches: [[name: '*/master']], +doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: +[], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s421813/s421813-mlworkshops.git']]]) sh label: '', script: 'chmod 777 counter.sh' sh label: '', script: './counter.sh' archiveArtifacts 'txt.txt' + + } + } + } }