-
-
Notifications
You must be signed in to change notification settings - Fork 168
Expand file tree
/
Copy pathJenkinsfile
More file actions
35 lines (35 loc) · 605 Bytes
/
Copy pathJenkinsfile
File metadata and controls
35 lines (35 loc) · 605 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!Groovy
pipeline {
agent {
docker {
image 'digitaldonkey/php-with-composer'
}
}
stages {
stage('PHP test') {
steps {
sh 'php --version'
}
}
stage('install composer') {
steps {
sh 'composer install'
}
}
stage('test phpunit') {
steps {
sh './vendor/bin/phpunit --version'
}
}
stage('run phpunit') {
steps {
sh './vendor/bin/phpunit --log-junit results/phpunit/phpunit.xml --testsuite EthereumPhp'
}
}
}
post {
always {
junit 'results/**/*.xml'
}
}
}