File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -13,16 +13,15 @@ pipeline {
13
13
}
14
14
stage(' Build' ) {
15
15
steps {
16
- sh ' docker build -t php-neo4j:static-analysis .'
16
+ sh ' docker build -t php-neo4j:static-analysis-$BRANCH_NAME .'
17
17
sh ' docker-compose -p $BRANCH_NAME -f docker/docker-compose.yml build --parallel'
18
18
sh ' docker-compose -p $BRANCH_NAME build'
19
- sh ' docker build -t php-neo4j:static-analysis .'
20
19
}
21
20
}
22
21
stage(' Static Analysis' ) {
23
22
steps {
24
- sh ' docker run php-neo4j:static-analysis tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run'
25
- sh ' docker run php-neo4j:static-analysis tools/psalm/vendor/bin/psalm --show-info=true'
23
+ sh ' docker run php-neo4j:static-analysis-$BRANCH_NAME tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run'
24
+ sh ' docker run php-neo4j:static-analysis-$BRANCH_NAME tools/psalm/vendor/bin/psalm --show-info=true'
26
25
}
27
26
}
28
27
stage(' Test' ) {
You can’t perform that action at this time.
0 commit comments