Jenkins stellt allgemeine maven Projekt Properties als Umgebungsvariablen zur Verfügung.
Natürlich funktioniert dies nur bei maven Build Jobs aber nicht bei Freestyle Jobs, welche nur maven Goals aufrufen.
Dieses Feature wurde vor einer Weile implementiert, aber überraschender Weise ist es bisher noch nicht sonderlich gut dokumentiert.
blog.codecentric.deJenkins exposes general maven project properties as environment variables.
Of corse this only works in maven build jobs, but not in freestyle jobs that execute maven goals.
This feature has only been implemented a while ago and surprisingly it is not well documented yet.
blog.codecentric.deJenkins pull request, welcher das neue Feature eingeführt hat
Jenkins stellt allgemeine maven Projekt Properties als Umgebungsvariablen zur Verfügung.
Natürlich funktioniert dies nur bei maven Build Jobs aber nicht bei Freestyle Jobs, welche nur maven Goals aufrufen.
blog.codecentric.deJenkins pull request that introduced the new feature
Jenkins exposes general maven project properties as environment variables.
Of corse this only works in maven build jobs, but not in freestyle jobs that execute maven goals.
blog.codecentric.deDieses Feature wurde vor einer Weile implementiert, aber überraschender Weise ist es bisher noch nicht sonderlich gut dokumentiert.
Die folgende Tabelle listet alle maven Projekt properties auf, welche auf Jenkins Umgebungsvariablen gemappt werden:
maven Projekt Property
blog.codecentric.deThis feature has only been implemented a while ago and surprisingly it is not well documented yet.
The following table shows a full list of how maven project properties are mapped to Jenkins environment variables:
maven project property
blog.codecentric.deИскаш ли да добавиш дума, фраза или превод?
Изпратете ни нов запис.