diff --git a/Jenkinsfile b/Jenkinsfile index 46631bf..b770ec8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,20 +14,20 @@ pipeline { steps { sh ''' set -xeu - withOfficialSuffix= + releaseQualifier=-Alpha if [[ ${TAG_NAME-} == v* ]] \ && [[ ${JOB_NAME-} == "continuous/${TAG_NAME-}" ]] \ && [[ $(git rev-parse refs/tags/${TAG_NAME-}) == "$(git rev-parse HEAD)" ]] \ ; then - withOfficialSuffix='-DunofficialSuffix=' + releaseQualifier='-Final' elif [[ ${BRANCH_NAME-} == master ]] \ && [[ ${JOB_NAME-} == "continuous/${BRANCH_NAME-}" ]] \ && [[ $(git rev-parse refs/remotes/origin/${BRANCH_NAME-}) == "$(git rev-parse HEAD)" ]] \ ; then - withOfficialSuffix='-DunofficialSuffix=' + releaseQualifier='-Beta' fi mvn -N -B generate-resources - mvn -B clean verify ${withOfficialSuffix} + mvn -B clean verify "-DreleaseQualifier=${releaseQualifier}" ! test -r ./p2 mv sites/org.eclipse.tea.repository/target/repository p2 test -r ./p2/. diff --git a/pom.xml b/pom.xml index 41dd25d..c048675 100644 --- a/pom.xml +++ b/pom.xml @@ -54,7 +54,7 @@ pom - '-UNOFFICIAL' + -Alpha @@ -134,7 +134,7 @@ jgit pom.xml .gitignore .launchers/** warning - yyyyMMddHHmm${unofficialSuffix} + yyyyMMddHHmm'${releaseQualifier}'