mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-15 16:28:56 +00:00
19 lines
442 B
Bash
Executable file
19 lines
442 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
|
|
|
|
if [ -f "/.dockerenv" ]; then
|
|
export GRADLE_OPTS="-Dorg.gradle.daemon=false"
|
|
fi
|
|
|
|
./gradlew \
|
|
clean cleanGenerateXtext build publish \
|
|
-PuseJenkinsSnapshots=true \
|
|
-PJENKINS_URL=$JENKINS_URL \
|
|
-PcompileXtend=true \
|
|
-PignoreTestFailures=true \
|
|
--refresh-dependencies \
|
|
--continue \
|
|
$@
|