#!/bin/sh # electric commander sets ID_VERSION if [ -z "$ID_VERSION" ]; then # P4_CHANGELIST is set by a jenkins plugin if [ -z "$P4_CHANGELIST" ]; then CLIENTNAME=$(p4 -ztag info 2> /dev/null | grep clientName | cut -d ' ' -f 3) if [ "$CLIENTNAME" != "" ]; then P4_CHANGELIST=$(p4 changes -m1 @$CLIENTNAME 2> /dev/null | cut -d ' ' -f 2) fi if [ -z "$P4_CHANGELIST" ]; then P4_CHANGELIST="SNAPSHOT" fi fi # ID_PATCH is what we use if [ -z "$ID_PATCH" ]; then ID_PATCH=$P4_CHANGELIST fi # ID_REL_BASE is set in the jenkins job if [ -z "$ID_REL_BASE" ]; then ID_REL_BASE=2014.1 fi # ID_REL_QUALIFIER is set in the jenkins job (or not, it's optional) # finally, the ID_VERSION export ID_VERSION=${ID_REL_BASE}.${ID_PATCH}${ID_REL_QUALIFIER:+-${ID_REL_QUALIFIER}} fi echo $ID_VERSION
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 18866 | Sven Erik Knop | Updated with latest version | ||
#1 | 9795 | Sven Erik Knop |
Populate //guest/sven_erik_knop/p4search/... from //guest/perforce_software/p4search/.... |
||
//guest/perforce_software/p4search/search/gradle/headChange.sh | |||||
#3 | 9015 | Doug Scheirer | Adding paging code, more detailed results, and some scanning bug fixes to p4-search | ||
#2 | 9007 | Doug Scheirer |
update workshop p4-search with the latest released code: * code updates - bug fixes * adding jetty + solr tarballs * script updates * updated p4java jar to latest release |
||
#1 | 8975 | Matt Attaway | Populate official version of p4-search from the original Doug Scheirer source |