aboutsummaryrefslogtreecommitdiffstats
path: root/version.properties
blob: fbddbe73f1963e42bb13d2b34aaa0ed4ebc8673f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
###########################################################
# 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


release_name=1
sprint_number=5
feature_revision=0

base_version=${release_name}.${sprint_number}.${feature_revision}

release_version=${base_version}
snapshot_version=${base_version}-SNAPSHOT
"s2">"$JOB_NUMBER" == '' ];then JOB_NUMBER=0 fi if [ "$APPLICATION" == '' ];then APPLICATION='job' fi if [ -e /opt/gather_application_data.sh ]; then source /opt/gather_application_data.sh else >&2 echo "${APPLICATION} No gather_application_data function" exit fi FOLDER=/tmp/gather_data/${APPLICATION}_${JOB_NUMBER} mkdir -p $FOLDER cd ${FOLDER} gather_application_data cd ../ tar --remove-files -cvzf ${APPLICATION}_${JOB_NUMBER}.tar.gz ${APPLICATION}_${JOB_NUMBER}