This commit is contained in:
Kamil Paprota 2020-04-03 13:51:40 +02:00
parent d652497f47
commit 1e1ca0e65e
2 changed files with 14 additions and 1 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,9 +1,11 @@
pipeline { pipeline {
agent any agent { dockerfile true }
stages { stages {
stage('Hello') { stage('Hello') {
steps { steps {
sh 'node --version'
sh 'svn --version'
echo 'Hello World' echo 'Hello World'
echo 'Trigger Check' echo 'Trigger Check'
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], gitTool: 'Default', submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s416267/s416267-mlworkshops']]]) checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], gitTool: 'Default', submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s416267/s416267-mlworkshops']]])