Skip to content

Instantly share code, notes, and snippets.

@Aslan
Last active November 2, 2015 22:05
Show Gist options
  • Select an option

  • Save Aslan/f995f4c975bf3f7bf536 to your computer and use it in GitHub Desktop.

Select an option

Save Aslan/f995f4c975bf3f7bf536 to your computer and use it in GitHub Desktop.

Revisions

  1. Aslan revised this gist Nov 2, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion scala_sbt_jenkins.sh
    Original file line number Diff line number Diff line change
    @@ -8,7 +8,7 @@ wget http://www.scala-lang.org/files/archive/scala-2.10.4.deb
    apt-get update
    apt-get install scala

    wget http://dl.bintray.com/sbt/debian/sbt-0.13.6.deb
    wget https://bintray.com/artifact/download/sbt/debian/sbt-0.13.9.deb
    dpkg -i sbt-0.13.6.deb
    apt-get update
    apt-get install sbt
  2. Aslan created this gist Nov 2, 2015.
    14 changes: 14 additions & 0 deletions scala_sbt_jenkins.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    # upgrade from java 1.6 to 1.7
    apt-get install openjdk-7-jre
    update-alternatives --config java # chose java 1.7

    # install scala 2.10.4 (same version as AWS EMR)
    apt-get remove scala-library scala
    wget http://www.scala-lang.org/files/archive/scala-2.10.4.deb
    apt-get update
    apt-get install scala

    wget http://dl.bintray.com/sbt/debian/sbt-0.13.6.deb
    dpkg -i sbt-0.13.6.deb
    apt-get update
    apt-get install sbt