Fix: fix autopurging bug (probs mit sorting ..)
New: Added new RELEASE-incrementing algorithm dependent on the VERSION.
Refer to opsi-builder.cfg:STATUS_INTEGRATION_RELEASE="func:inc1"
This commit is contained in:
@@ -24,9 +24,10 @@ STATUS="integration"
|
||||
# STATUS_INTEGRATION_RELEASE - automatically created release number,
|
||||
# if STATUS is set to "integration". Valid values: anything, default value: "`date +%Y%m%d%H%M`"
|
||||
# Samples:
|
||||
# "`date +%Y%m%d%H%M`"
|
||||
# "$BUILD_NUMBER" - jenkins https://wiki.jenkins-ci.org/display/JENKINS/Building+a+software+project#Buildingasoftwareproject-JenkinsSetEnvironmentVariables
|
||||
STATUS_INTEGRATION_RELEASE="`date +%Y%m%d%H%M`"
|
||||
# "func:inc1" - build-in function "inc1": search the opsi-repository for the latested release and increment 1
|
||||
# "`date +%Y%m%d%H%M`" - command output, e.g. the date format YYMMDD-HHMM
|
||||
# "$BUILD_NUMBER" - Environment variables, jenkins https://wiki.jenkins-ci.org/display/JENKINS/Building+a+software+project#Buildingasoftwareproject-JenkinsSetEnvironmentVariables
|
||||
STATUS_INTEGRATION_RELEASE="func:inc1"
|
||||
|
||||
# CHECKSUM_AUTOCREATE - Every downloaded file is checked using SHA1 algorithm
|
||||
# against a checksum file, if this file ist not available, it will be created
|
||||
@@ -51,7 +52,7 @@ CREATOR_EMAIL="your-email@domain.de"
|
||||
# OPSI repository settings
|
||||
#################################
|
||||
# Basedirectory storing OPSI-packages after building
|
||||
OPSI_REPOS_BASE_DIR=$HOME/.opsi-repository
|
||||
OPSI_REPOS_BASE_DIR=$HOME/opsi-repository
|
||||
|
||||
# Directory- and filename pattern
|
||||
OPSI_REPOS_PRODUCT_DIR=${OPSI_REPOS_BASE_DIR}/${STATUS}/${VENDOR}/${PN}/${VERSION}-${CREATOR_TAG}${RELEASE}
|
||||
@@ -74,7 +75,7 @@ OPSI_REPOS_FILE_PATTERN=${PN}_${VERSION}-${CREATOR_TAG}${RELEASE}
|
||||
# You must be member of the unix group pcpatch&opsiadmin
|
||||
OPSI_REPOS_UPLOAD_OPSI=true
|
||||
OPSI_REPOS_UPLOAD_OPSI_ZSYNC=false
|
||||
OPSI_REPOS_UPLOAD_SOURCE=true
|
||||
OPSI_REPOS_UPLOAD_SOURCE=false
|
||||
OPSI_REPOS_UPLOAD_BIN=false
|
||||
OPSI_REPOS_OPSIMANAGER_INSTALL=false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user