init Dockerfile and check node version

This commit is contained in:
s407323 2019-04-26 12:26:11 +02:00
parent 092b332bd1
commit 36bbdf10fc
2 changed files with 16 additions and 4 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

9
Jenkinsfile vendored
View File

@ -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 {