From 00e709181fdb7326970c4f8f7c7ca3758a110f78 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Fri, 3 Feb 2023 14:11:39 -0500 Subject: [PATCH] Test PHP 8.2 on Jenkins --- Jenkinsfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 47108c2..36cb02e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -37,6 +37,20 @@ pipeline { } } } + stage("Test PHP 8.2") { + steps { + script { + docker.image("memcached:latest").withRun("-p 11212:11211") { c -> + docker.image("redis:latest").withRun("-p 6380:6379") { d -> + docker.image("php:8.2").withRun("-e REDIS_HOST=redis -e REDIS_PORT=11212 -e MEMCACHED_HOST=mem -e MEMCACHED_PORT=6380 --link ${d.id}:redis --link ${c.id}:mem") { p -> + sh "sh build/docker_install.sh" + sh "php ./vendor/bin/phpunit -c build --no-coverage --colors=never" + } + } + } + } + } + } /* stage('Code Cleanliness') { agent any steps {