Add tests to Jenkinsfile

This commit is contained in:
Kameron Kenny 2024-10-30 09:40:13 -04:00
parent 2451d24447
commit 4a642fcad2
No known key found for this signature in database
GPG Key ID: E5006629839D2276
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
FROM debian:latest FROM debian:latest
MAINTAINER Kameron Kenny <kkenny379@gmail.com> MAINTAINER Kameron Kenny <kkenny379@gmail.com>
LABEL version="20241030093605" LABEL version="20241030094013"
LABEL description="Debian Based syslog-ng" LABEL description="Debian Based syslog-ng"
RUN apt-get update RUN apt-get update

2
Jenkinsfile vendored
View File

@ -15,7 +15,7 @@ pipeline {
stage("Test syslog-ng configuration") { stage("Test syslog-ng configuration") {
steps { steps {
sh 'syslog-ng -s -f config/syslog-ng.conf' sh '/usr/sbin/syslog-ng -s -f config/syslog-ng.conf'
} }
} }

View File

@ -10,7 +10,7 @@ services:
syslog-ng: syslog-ng:
build: build:
dockerfile: Dockerfile dockerfile: Dockerfile
image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:20241030093605 image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:20241030094013
container_name: syslog-ng container_name: syslog-ng
restart: unless-stopped restart: unless-stopped
networks: networks: