ci: использовать gradle из образа вместо ./gradlew (убран chmod +x gradlew)
This commit is contained in:
@@ -93,10 +93,8 @@ stations:test:
|
||||
extends:
|
||||
- .stations:rules:test
|
||||
- .stations:gradle-cache
|
||||
before_script:
|
||||
- chmod +x gradlew
|
||||
script:
|
||||
- ./gradlew --no-daemon :services:pcp-stations-service:test
|
||||
- gradle --no-daemon :services:pcp-stations-service:test
|
||||
artifacts:
|
||||
when: always
|
||||
reports:
|
||||
@@ -115,10 +113,8 @@ stations:build:
|
||||
needs:
|
||||
- job: stations:test
|
||||
artifacts: true
|
||||
before_script:
|
||||
- chmod +x gradlew
|
||||
script:
|
||||
- ./gradlew --no-daemon :services:pcp-stations-service:bootJar
|
||||
- gradle --no-daemon :services:pcp-stations-service:bootJar
|
||||
artifacts:
|
||||
when: always
|
||||
paths:
|
||||
|
||||
Reference in New Issue
Block a user