hi
This commit is contained in:
parent
7620e4de29
commit
fed201bee4
11
Dockerfile
Normal file
11
Dockerfile
Normal 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
|
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -1,6 +1,6 @@
|
||||
pipeline {
|
||||
agent any
|
||||
stages {
|
||||
agent { dockerfile true }
|
||||
stages {
|
||||
stage('checkoutGit') {
|
||||
steps {
|
||||
git 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops'
|
||||
@ -8,13 +8,13 @@ pipeline {
|
||||
}
|
||||
stage('copyArtifacts') {
|
||||
steps {
|
||||
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './s426274-metrics'
|
||||
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
|
||||
}
|
||||
}
|
||||
stage('countLines') {
|
||||
steps {
|
||||
sh 'chmod 777 ./script.sh'
|
||||
sh './script.sh'
|
||||
sh 'chmod 777 ./countlines.sh'
|
||||
sh './countlines.sh'
|
||||
}
|
||||
}
|
||||
stage('archiveArtifacts') {
|
||||
|
Loading…
Reference in New Issue
Block a user