Test PHP 8.2 on Jenkins
All checks were successful
Gitea - aviat/banker/pipeline/head This commit looks good
All checks were successful
Gitea - aviat/banker/pipeline/head This commit looks good
This commit is contained in:
parent
db431e6b2a
commit
00e709181f
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
@ -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') {
|
/* stage('Code Cleanliness') {
|
||||||
agent any
|
agent any
|
||||||
steps {
|
steps {
|
||||||
|
Loading…
Reference in New Issue
Block a user