Skip to content

Commit fe2c177

Browse files
DSP-5934: Build Modifications for Jenkins Integration
1 parent 130ddbf commit fe2c177

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

bin/server_package.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
# Script for packaging all the job server files to .tar.gz for Mesos or other single-image deploys
3-
WORK_DIR=/tmp/job-server
3+
WORK_DIR="$TMPDIR"/tmp/job-server
44

55
ENV=$1
66
if [ -z "$ENV" ]; then

bin/setenv.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ if [ -z "$SPARK_CONF_DIR" ]; then
3838
fi
3939

4040
if [ -z "$LOG_DIR" ]; then
41-
LOG_DIR=/tmp/job-server
41+
LOG_DIR="$TMPDIR"/tmp/job-server
4242
echo "LOG_DIR empty; logging will go to $LOG_DIR"
4343
fi
4444
mkdir -p $LOG_DIR

job-server/config/dse.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ elif [ -z "$ENV" ]; then
3131
exit 1
3232
fi
3333

34-
SPARK_VERSION=1.4.1.1 #Last digit is DSE Specific
35-
3634
DEPLOY_HOSTS="localhost"
3735

3836
INSTALL_DIR="$DSE_COMPONENTS_ROOT/spark/spark-jobserver"
@@ -41,5 +39,3 @@ LOG_DIR=/var/log/spark/job-server
4139
PIDFILE=spark-jobserver.pid
4240

4341
SPARK_CONF_DIR=${SPARK_CONF_DIR:-"$SPARK_HOME/conf"}
44-
45-
SCALA_VERSION=2.10.5 # or 2.11.6

version.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
version in ThisBuild := "0.6.2.100"
1+
def currentVersion: String = ("git describe --tags --match v*" !!).trim.substring(1)
2+
3+
version in ThisBuild := currentVersion

0 commit comments

Comments
 (0)