From 36bbdf10fcde46e8a1e195570acec1aeb35cb74e Mon Sep 17 00:00:00 2001 From: s407323 Date: Fri, 26 Apr 2019 12:26:11 +0200 Subject: [PATCH] init Dockerfile and check node version --- Dockerfile | 11 +++++++++++ Jenkinsfile | 9 +++++---- 2 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..9b6b59c --- /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 \ No newline at end of file diff --git a/Jenkinsfile b/Jenkinsfile index 4a5f8b0..853fec5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,13 +1,14 @@ pipeline { - agent any + agent { dockerfile true } stages { - stage('Stage 1') { + stage('Test') { steps { - echo 'Hello world!' + sh 'node --version' + sh 'svn --version' } } - stage('Stage 2') { + stage('Zadanie 1') { steps { echo 'Kopiowanie plików z wynikami rozpoznawania mowy z artefaktów projektu ASR-eval' script {