Update newbuild URL (#337)

This commit is contained in:
iwangtalend
2020-12-10 10:02:19 +01:00
committed by GitHub
parent 952acaf430
commit 02bb1ecc7c

View File

@@ -61,7 +61,7 @@
<studio.dir>${project.build.directory}/products/${project.artifactId}/${osgi.os}/${osgi.ws}/${osgi.arch}</studio.dir>
<bom.out.dir>${project.build.directory}/products/${project.artifactId}-bom</bom.out.dir>
<bom.final.name.prefix>${storage.prefix}-${product.timestamp}-V${product.version}-${revision.filename}</bom.final.name.prefix>
<bom.final.name>${bom.final.name.prefix}-bom.xlsx</bom.final.name>
<bom.final.name>${bom.final.name.prefix}-bom.xlsx</bom.final.name>
</properties>
<build>
@@ -230,24 +230,24 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.talend.studio</groupId>
<artifactId>bomtool</artifactId>
<version>1.0.0-SNAPSHOT</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>genNotice</goal>
</goals>
</execution>
</executions>
<configuration>
<studioDirectory>${studio.dir}</studioDirectory>
<plugin>
<groupId>org.talend.studio</groupId>
<artifactId>bomtool</artifactId>
<version>1.0.0-SNAPSHOT</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>genNotice</goal>
</goals>
</execution>
</executions>
<configuration>
<studioDirectory>${studio.dir}</studioDirectory>
<outputDirectory>${bom.out.dir}</outputDirectory>
<productVersion>${product.version}</productVersion>
</configuration>
</plugin>
<productVersion>${product.version}</productVersion>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
@@ -498,29 +498,29 @@
<timestampProvider>default</timestampProvider>
</configuration>
</plugin>
<!--
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.7</version>
<executions>
<!--
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>-->
<!-- Attach product ZIP to Maven artifact -->
<!-- <id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${project.build.directory}/products/${product.final.name}.zip</file>
<type>product</type>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
<!-- <id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${project.build.directory}/products/${product.final.name}.zip</file>
<type>product</type>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -539,7 +539,7 @@
<mkdir dir="${product.dir}" />
<echo>Moving product ZIP ${project.build.directory}/products/${product.final.name}.zip to ${product.dir}</echo>
<move todir="${product.dir}" file="${project.build.directory}/products/${product.final.name}.zip" />
<!-- Copy bom -->
<property name="bom.build.path" value="${product.build.id}/BOMS" />
<property name="bom.dir" value="${storage}/${bom.build.path}" />
@@ -554,7 +554,7 @@
<copy tofile="${bom.dir}/${bom.final.name.prefix}-report.txt" file="${bom.out.dir}/report.txt" />
<if>
<and>
<equals arg1="${env.HUDSON_URL}" arg2="http://newbuild.talend.com:8180/" />
<equals arg1="${env.HUDSON_URL}" arg2="https://ci-newbuild.talend.com/" />
<equals arg1="${automaticnb}" arg2="1" />
</and>
<then>