<?xml version="1.0" encoding="UTF-8"?>
+<!--
+============LICENSE_START==========================================
+ONAP : APPC
+===================================================================
+Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
+===================================================================
+
+Unless otherwise specified, all software contained herein is licensed
+under the Apache License, Version 2.0 (the License);
+you may not use this software except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+============LICENSE_END============================================
+-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<!--This version will be over-ridden by jenkins
injecting the version.properties variable file during docker build-->
<appc.docker.staging.version>1.0.0</appc.docker.staging.version>
- <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
+ <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
</properties>
<includes>
<include>*.dump</include>
<include>*.sh</include>
+ <include>*.cfg</include>
+ <include>*.ini</include>
</includes>
<filtering>false</filtering>
</resource>
}
if ( project.properties['ver'].endsWith("-SNAPSHOT") ) {
project.properties['dockertag1']=project.properties['ver'] + "-latest";
- project.properties['dockertag2']="latest";
+ project.properties['dockertag2']=project.properties['ver'] + "-" + project.properties['timestamp'];
project.properties['appc.version']=project.properties['appc.snapshot.version'];
} else {
project.properties['dockertag1']=versionArray[0] + '.' + versionArray[1] + "-STAGING-latest";
<includes>
<include>*.dump</include>
<include>*.sh</include>
+ <include>*.cfg</include>
+ <include>*.ini</include>
</includes>
<filtering>false</filtering>
</resource>