mirror of
https://github.com/Ellpeck/PrettyPipes.git
synced 2024-11-22 11:53:29 +01:00
Please note that the environment section is not able to expand environment variables
This commit is contained in:
parent
7ba311c2bf
commit
3975e5fe2a
2 changed files with 2 additions and 3 deletions
|
@ -13,6 +13,5 @@ steps:
|
||||||
- ./gradlew publish --no-daemon
|
- ./gradlew publish --no-daemon
|
||||||
environment:
|
environment:
|
||||||
- LOCAL_MAVEN=/var/www/maven
|
- LOCAL_MAVEN=/var/www/maven
|
||||||
- BUILD_NUMBER=$CI_PIPELINE_NUMBER
|
|
||||||
volumes:
|
volumes:
|
||||||
- /var/www/maven:/var/www/maven
|
- /var/www/maven:/var/www/maven
|
||||||
|
|
|
@ -9,8 +9,8 @@ plugins {
|
||||||
jarJar.enable()
|
jarJar.enable()
|
||||||
|
|
||||||
version = mod_version
|
version = mod_version
|
||||||
if (System.getenv('BUILD_NUMBER') != null) {
|
if (System.getenv('CI_PIPELINE_NUMBER') != null) {
|
||||||
version += "." + System.getenv('BUILD_NUMBER')
|
version += "." + System.getenv('CI_PIPELINE_NUMBER')
|
||||||
}
|
}
|
||||||
|
|
||||||
group = mod_group_id
|
group = mod_group_id
|
||||||
|
|
Loading…
Reference in a new issue