mirror of
https://github.com/Ellpeck/PrettyPipes.git
synced 2024-12-22 15:39:22 +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
|
||||
environment:
|
||||
- LOCAL_MAVEN=/var/www/maven
|
||||
- BUILD_NUMBER=$CI_PIPELINE_NUMBER
|
||||
volumes:
|
||||
- /var/www/maven:/var/www/maven
|
||||
|
|
|
@ -9,8 +9,8 @@ plugins {
|
|||
jarJar.enable()
|
||||
|
||||
version = mod_version
|
||||
if (System.getenv('BUILD_NUMBER') != null) {
|
||||
version += "." + System.getenv('BUILD_NUMBER')
|
||||
if (System.getenv('CI_PIPELINE_NUMBER') != null) {
|
||||
version += "." + System.getenv('CI_PIPELINE_NUMBER')
|
||||
}
|
||||
|
||||
group = mod_group_id
|
||||
|
|
Loading…
Reference in a new issue