package org.jenkinsci.plugins.p4.client; public class Identifier { private String product; private String version; public Identifier() { Package p = this.getClass().getPackage(); version = p.getSpecificationVersion(); if(version == null) version = "UNSET"; product = p.getImplementationTitle(); if(product == null) product = "Jenkins p4-plugin"; } public String getVersion() { return version; } public String getProduct() { return product; } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 9843 | Paul Allen | Log build version in p4java connection. | ||
#2 | 9824 | Paul Allen |
Report the plugin version. Extracts the plugin version and adds a name for reporting in the P4D logs. e.g. [Jenkins_p4-plugin/1.0.10-SNAPSHOT] |
||
#1 | 9672 | Paul Allen | Refactor name from 'p4_client' to 'p4'. | ||
//guest/paul_allen/dev/p4-jenkins/p4-client/src/main/java/org/jenkinsci/plugins/p4_client/client/Identifier.java | |||||
#1 | 8629 | Paul Allen |
Added p4java with connection/authorisation helper classes. Included SSL support and detection of Unicode servers. |