Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Added a Jenkins shell script #3977

Merged
merged 1 commit into from
Jun 14, 2016
Merged

Added a Jenkins shell script #3977

merged 1 commit into from
Jun 14, 2016

Conversation

titosand
Copy link

@titosand titosand commented Jun 10, 2016

This script contains the build steps to be run by Jenkins for every merge/pull request. Allows for version controlling of build steps through the repo.

mkdir -p $HOME/.sbt/launchers/0.13.8/
test -r $HOME/.sbt/launchers/0.13.8/sbt-launch.jar || curl -L -o $HOME/.sbt/launchers/0.13.8/sbt-launch.jar http://dl.bintray.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/0.13.8/sbt-launch.jar
java -jar $HOME/.sbt/launchers/0.13.8/sbt-launch.jar -Dsbt.log.noformat=true "; clean; coverage; doc; assembly"
java -Dfile.encoding=utf-8 -jar $HOME/.sbt/launchers/0.13.8/sbt-launch.jar -Dsbt.log.noformat=true "; coverageReport; coveralls"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you merge the two commands (In quotations) together, sbt won't reload and a good amount of build time would be saved.

…uild config.

Removed file encoding flag

added flag back with utf8 not utf-8

moved file encoding flag before -jar

Renamed jenkins.sh

added a Jenkins folder that will contain build config scripts

Delete jenkins.sh

Delete unit-integration-tests.sh

Combined both sbt commands into one.
@jasongilanfarr jasongilanfarr merged commit 1f1d569 into master Jun 14, 2016
@titosand titosand deleted the tito/addshellscript branch June 17, 2016 21:13
@marcomonaco marcomonaco added the pr label Mar 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants