Merge pull request #7 from jjguti/feature/add-jenkinsfile

Add a Jenkinsfile
This commit is contained in:
Juan José Gutiérrez de Quevedo Pérez 2021-06-30 14:39:56 +02:00 committed by GitHub
commit cbb4a1bdcd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

28
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,28 @@
pipeline {
environment {
DOCKER_HOST='docker.hem:2376'
}
agent any;
stages {
stage('Build') {
agent {
dockerfile { dir 'build-deps' }
}
steps {
dir('build') {
sh 'cmake ..'
sh 'make -j4'
}
}
}
}
triggers {
pollSCM('H */4 * * 1-5')
}
}

2
build-deps/Dockerfile Normal file
View file

@ -0,0 +1,2 @@
FROM alpine:3.13
RUN /sbin/apk add -t hermes-build-deps --no-cache gcc g++ make cmake openssl-dev libspf2-dev sqlite-dev gettext-dev doxygen graphviz perl