Add a Jenkinsfile

This commit is contained in:
Juanjo Gutiérrez 2021-06-28 09:38:55 +02:00
父節點 400777aaee
當前提交 34360bcafc
共有 2 個文件被更改,包括 30 次插入0 次删除

28
Jenkinsfile vendored Normal 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
查看文件

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