Skip to content

Commit

Permalink
229: temporary deploy only to Maven
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzoBettini committed Jul 27, 2020
1 parent 674bb68 commit af50610
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions Jenkinsfile
Expand Up @@ -67,28 +67,6 @@ node {
exclusionPattern: '**/*Test*.class,**/edelta/edelta/**/*.class,**/antlr/**/*.class,**/serializer/*.class,**/*Abstract*RuntimeModule.class,**/*StandaloneSetup*.class,**/*Abstract*Validator.class,**/*GrammarAccess*.class,**/*Abstract*UiModule.class,**/**ExecutableExtensionFactory.class,**/*Abstract*ProposalProvider.class,**/internal/*.class,**/*ProjectTemplate.class'])
}
} else {
stage('Build and Deploy P2 Artifacts') {
sh (script:
"./mvnw -f edelta.parent/pom.xml ${mavenProfiles} ${mavenArguments}",
)
}
if (!isSnapshot) {
stage('Remove SNAPSHOT') {
// Since edelta.parent has edelta.bom as parent, but the aggregator
// is edelta.parent, the versions:set must be run only on the BOM
// (to avoid the error "Project version is inherited from parent")
// this will remove the -SNAPSHOT.
// Then we run tycho-versions-plugin on the edelta.parent (the aggregator)
// to remove the .qualifier
sh (script:
"./mvnw -f edelta.parent/edelta.bom/pom.xml ${mavenOnlyProfile} \
versions:set -DgenerateBackupPoms=false -DremoveSnapshot=true \
&& \
./mvnw -f edelta.parent/pom.xml ${mavenOnlyProfile} \
org.eclipse.tycho:tycho-versions-plugin:update-eclipse-metadata",
)
}
}
stage('Build and Deploy Maven Artifacts') {
sh (script:
"./mvnw -f edelta.parent/pom.xml -Dmaven.repo.local='${env.WORKSPACE}'/.repository ${mavenOnlyProfile} -Psonatype-oss-release clean deploy",
Expand Down

0 comments on commit af50610

Please sign in to comment.