make robotframework-onap not deploy twice 90/86090/1
authorDR695H <dr695h@att.com>
Tue, 23 Apr 2019 20:12:14 +0000 (16:12 -0400)
committerDR695H <dr695h@att.com>
Tue, 23 Apr 2019 20:12:35 +0000 (16:12 -0400)
make robotframework-onap not deploy twice

Change-Id: I9e01f58f666e99099522895ebf335f13bd07c950
Issue-ID: TEST-141
Signed-off-by: DR695H <dr695h@att.com>
robotframework-onap/pom.xml
version.properties [new file with mode: 0644]

index 8c6c05b..6f8cc1d 100644 (file)
                             <goal>process-sources</goal>
                         </goals>
                     </execution>
-                    <execution>
-                        <id>deploy</id>
-                        <goals>
-                            <goal>deploy</goal>
-                        </goals>
-                    </execution>
                 </executions>
-                               <configuration>
-                    <repository>${python.pypi.repository}</repository>
+                               <configuration> 
                                        <sourceDirectory>${python.sourceDirectory}</sourceDirectory>
                                </configuration>
                        </plugin>
diff --git a/version.properties b/version.properties
new file mode 100644 (file)
index 0000000..b69e8d0
--- /dev/null
@@ -0,0 +1,14 @@
+# Versioning variables
+# Note that these variables cannot be structured (e.g. : version.release or version.snapshot etc... )
+# because they are used in Jenkins, whose plug-in doesn't support
+
+major=1
+minor=4
+patch=0
+
+base_version=${major}.${minor}.${patch}
+
+# Release must be completed with git revision # in Jenkins
+release_version=${base_version}
+snapshot_version=${base_version}-SNAPSHOT
+tags=latest ${base_version}-STAGING-latest