xtext-core/2-maven-build.sh
Karsten Thoms 88235162f0 [eclipse/xtext#1309] Provide Jenkinsfile for Eclipse CBI
- externalized build steps into shell scripts for convenient local usage
- added Slack notifications
- configure Maven default goal

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-04-03 19:09:10 +02:00

15 lines
371 B
Bash
Executable file

#!/usr/bin/env bash
if [ -z "$JENKINS_URL" ]; then
# if not set in environment use default
JENKINS_URL=https://ci.eclipse.org/xtext/
fi
mvn \
-f releng \
--batch-mode \
--update-snapshots \
-Dmaven.repo.local=.m2/repository \
-DJENKINS_URL=$JENKINS_URL \
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \
$@