Append build info also in gcube-releases.
This commit is contained in:
parent
17d39b5f88
commit
66fdd6d872
28
pom.xml
28
pom.xml
|
@ -336,6 +336,32 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>io.github.olivierlemasle.maven</groupId>
|
||||
<artifactId>plaintext-maven-plugin</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<configuration>
|
||||
<outputDirectory>${env.MAVEN_CONFIG_FOLDER}</outputDirectory>
|
||||
<files>
|
||||
<file>
|
||||
<name>build_commits.csv</name>
|
||||
<append>true</append>
|
||||
<lines>
|
||||
<line>${project.artifactId},${project.version},${project.scm.url},${buildNumber}</line>
|
||||
</lines>
|
||||
</file>
|
||||
</files>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>generate-file</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>write</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
<finalName>${project.artifactId}-${project.version}</finalName>
|
||||
|
@ -422,7 +448,7 @@
|
|||
<name>build_commits.csv</name>
|
||||
<append>true</append>
|
||||
<lines>
|
||||
<line>${project.scm.url},${project.version},${buildNumber}</line>
|
||||
<line>${project.artifactId},${project.version},${project.scm.url},${buildNumber}</line>
|
||||
</lines>
|
||||
</file>
|
||||
</files>
|
||||
|
|
Loading…
Reference in New Issue