Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dockers for single R packages #66

Open
wants to merge 114 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
ea559a7
dockers for single R packages - init
wkusmirek Mar 19, 2018
723d222
building docker images before running tests - only for speed up dev p…
wkusmirek Mar 19, 2018
357e36c
bugfix in Jenkinsfile
wkusmirek Mar 19, 2018
7cd7620
build.sh file without pushing dockers images
wkusmirek Mar 19, 2018
f72a2ba
pushing images in build.sh file
wkusmirek Mar 19, 2018
5de7eff
rename docker images
wkusmirek Mar 19, 2018
a0cc870
draft of docker containers for CODEX, Canoes and Exomedepth
wkusmirek Mar 20, 2018
be88e85
CANOES package
wkusmirek Mar 20, 2018
0edbf36
CANOES package in Jenkinsfile
wkusmirek Mar 20, 2018
28e60cd
bugfix
wkusmirek Mar 20, 2018
f3bb5c9
Canoes added to docker container
wkusmirek Mar 20, 2018
7a92540
TARGET.QC package in docker
wkusmirek Mar 22, 2018
28c3311
switch off R tests to speed up development
wkusmirek Mar 22, 2018
e515fef
TARGET.QC package with reading and writing coverage table
wkusmirek Mar 22, 2018
905ed26
bugfixes in TARGET.QC package
wkusmirek Mar 22, 2018
53dcff6
building dockers without cache - to reload R packages while development
wkusmirek Mar 22, 2018
40292ef
proper order of column in TARGET.QC results
wkusmirek Mar 22, 2018
3a7951d
bugfix
wkusmirek Mar 22, 2018
1e5f202
dockerfile for REFERENCE.SAMPLE.SET.SELECTOR
wkusmirek Mar 23, 2018
86022de
new interface to run_REFERENCE.SAMPLE.SET.SELECTOR method
wkusmirek Mar 23, 2018
da94fbd
change arguments order in run_REFERENCE.SAMPLE.SET.SELECTOR function
wkusmirek Mar 23, 2018
c75ff28
draft of DAG for CODEX cnv caller
wkusmirek Mar 23, 2018
3e88016
EXOMEDEPTH package in docker
wkusmirek Mar 23, 2018
91c7e3c
Dockerfile for EXOMEDEPTHCOV package
wkusmirek Mar 24, 2018
862aabe
first version of CODEXCOV package in docker image
wkusmirek Mar 26, 2018
626f23a
finished dag for ExomeDepth, draft od dag for CANOES
wkusmirek Mar 26, 2018
7a7beef
draft of CANOESCOV with new interface
wkusmirek Mar 26, 2018
14b1967
bugfix
wkusmirek Mar 26, 2018
02e0c01
finished dag file for CODEX cnv caller
wkusmirek Mar 26, 2018
066be68
IRanges in docker for CANOESCOV package
wkusmirek Mar 26, 2018
f9f4ffd
add getgc function to CANOESCOV package
wkusmirek Mar 26, 2018
d510815
missing libraries in getgc function
wkusmirek Mar 26, 2018
43cec0b
bugfixes
wkusmirek Mar 26, 2018
f0a6ea0
missing libraries
wkusmirek Mar 26, 2018
43997d9
libraries in another place
wkusmirek Mar 26, 2018
68507f0
remove libraries from run_CANOESCOV function
wkusmirek Mar 27, 2018
6e6cc47
CODEX in CANOESCOV package (only for tests)
wkusmirek Mar 27, 2018
1b82b56
tests for building CANOESCOV docker with CODEX dependencies
wkusmirek Mar 27, 2018
7555622
missing CANOES library
wkusmirek Mar 27, 2018
381555c
bugfix in CANOESCOV libraries
wkusmirek Mar 27, 2018
6e4c1cc
first version of new interface to TARGET.QC package
wkusmirek Mar 30, 2018
9a7c043
first version of new interface to REFERENCE.SAMPLE.SET.SELECTOR package
wkusmirek Mar 30, 2018
b069d27
test of forcing rebuilding specified docker
wkusmirek Mar 30, 2018
7999948
proper name of packege
wkusmirek Mar 30, 2018
bc168e9
another test of forcing docker rebuilding
wkusmirek Mar 30, 2018
200a8f6
another test of rebuilding docker image
wkusmirek Mar 30, 2018
d3dd140
force to rebuild cnv-opt-reference-sample-set-selector docker
wkusmirek Mar 30, 2018
b3d1bc9
bugfix
wkusmirek Mar 30, 2018
2247ef3
bugfix one more time
wkusmirek Mar 30, 2018
961e8b3
propoer indices
wkusmirek Mar 30, 2018
3da288a
bugfix in saveing qc_bed to file
wkusmirek Mar 30, 2018
54415b6
progress in selecting reference sample set
wkusmirek Mar 30, 2018
ef805c7
firsst version of new interface for exomedepthcov package
wkusmirek Mar 30, 2018
bd4c87a
some clean up in EXOMEDEPTHCOV package
wkusmirek Mar 30, 2018
bb2b86d
first version new interface to CODEXCOV package
wkusmirek Mar 30, 2018
100b6f1
first version of new interface to CANOESCOV package
wkusmirek Mar 30, 2018
b7ff805
force to rebuild CANOESCOV package
wkusmirek Mar 30, 2018
f6c966f
bugfix
wkusmirek Mar 30, 2018
e4b6f80
forcing rebuilding only specified dockers - to speed up dev process
wkusmirek Mar 30, 2018
7c0447f
coverage table as matrix
wkusmirek Mar 30, 2018
820a751
code clean up
wkusmirek Mar 30, 2018
f2646ea
bugfix
wkusmirek Apr 1, 2018
f89d041
force to reload CODEXCOV package
wkusmirek Apr 1, 2018
7b9c82d
dags for codex, canoes and exomedept callers
wkusmirek Apr 1, 2018
ab5bd6d
init version of EXOMECOPYCOV package
wkusmirek Apr 6, 2018
d7c1a6a
bugfix in Dockerfile
wkusmirek Apr 6, 2018
63f76e7
bugfix in exomeCopy version
wkusmirek Apr 7, 2018
ae2061e
force to reload EXOMECOPYCOV package
wkusmirek Apr 7, 2018
f21852f
bugfix in forcing reloading package
wkusmirek Apr 7, 2018
5933e4e
bugfix in sampname type
wkusmirek Apr 7, 2018
9acf200
missing libraries
wkusmirek Apr 7, 2018
e2f5d9a
exomeCopy in 1.22 version
wkusmirek Apr 7, 2018
1412d07
missing libraries
wkusmirek Apr 7, 2018
0e8fa23
writing detected CNVs to output file
wkusmirek Apr 8, 2018
c446c1f
random method of selecting reference sample set
wkusmirek Apr 30, 2018
45e10ba
reload package for selecting reference sample set
wkusmirek Apr 30, 2018
2856a8d
bugfix
wkusmirek Apr 30, 2018
2989118
bugfix
wkusmirek Apr 30, 2018
7bb4e4b
select reference set based on CANOES method with cov threshold
wkusmirek Apr 30, 2018
c54d436
bugfix
wkusmirek Apr 30, 2018
7ed767f
investigated reference sample set in EXOMECOPYCOV package (first vers…
wkusmirek May 16, 2018
43ead0d
reload package
wkusmirek May 16, 2018
ca70a81
manual forcing package reload
wkusmirek May 16, 2018
4071094
DBI package greater or equal to 0.8
wkusmirek May 16, 2018
6bcb7f7
force to reload package
wkusmirek May 16, 2018
fc5fbd2
bugfix
wkusmirek May 16, 2018
0662e41
reload package in docker container
wkusmirek May 16, 2018
bf7ac7c
bugfix
wkusmirek May 16, 2018
6c771b4
reload package
wkusmirek May 16, 2018
0b0d37a
bugfix one more time
wkusmirek May 16, 2018
a88e5db
merging results
wkusmirek May 16, 2018
5d62b84
clean up Dockerfile
wkusmirek May 16, 2018
53f94dc
kmeans in reference sample set selector - first version
wkusmirek May 21, 2018
5878140
force to reload Docker image
wkusmirek May 21, 2018
ef8dace
bugfix
wkusmirek May 21, 2018
ab4c0e1
speed up kmeans
wkusmirek May 21, 2018
769805a
bugfix
wkusmirek May 21, 2018
57b9604
changes in order to find a bug
wkusmirek May 21, 2018
85c550e
bugfix
wkusmirek May 21, 2018
bc2a002
changes in order to detect bug
wkusmirek May 21, 2018
e408aea
code clean up, bugfix
wkusmirek May 21, 2018
a7b6352
CNV.SIMULATOR package init
wkusmirek Oct 11, 2018
6dfcaa8
CNV.SIMULATOR package
wkusmirek Oct 11, 2018
918bee2
first, not tested version of simulating CNVs by downsampling
wkusmirek Oct 11, 2018
4497545
comment out testing Scala code
wkusmirek Oct 16, 2018
b89bb5f
comment out everything connected to Scala from Jenkinsfile
wkusmirek Oct 16, 2018
c7cc004
bugfix
wkusmirek Oct 16, 2018
1ed18d2
remove unresolved dependencies
wkusmirek Oct 16, 2018
2f8d051
force to rebuild cnv-simulator docker
wkusmirek Oct 16, 2018
81533bc
printing generated CNVs
wkusmirek Oct 16, 2018
a99d5a3
downsample method finished
wkusmirek Oct 16, 2018
0497387
first version of X replacement from Ximmer tool
wkusmirek Oct 17, 2018
f927dea
random male sample changed to the most correlated male sample
wkusmirek Oct 17, 2018
426bced
force to rebuild docker image
wkusmirek Oct 24, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions Docker/cnv-opt-canoes/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM ubuntu:xenial
MAINTAINER biodatageeks <[email protected]>

RUN apt-get update
RUN apt-get install -y software-properties-common
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
RUN add-apt-repository 'deb [arch=amd64,i386] https://cran.rstudio.com/bin/linux/ubuntu xenial/'
RUN apt-get install -y apt-transport-https

RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y r-base libssl-dev libssh2-1-dev libxml2-dev libcurl4-openssl-dev libpq-dev

RUN Rscript -e "install.packages('nnls', repos = 'http://cran.us.r-project.org')"
RUN Rscript -e "install.packages('Hmisc', repos = 'http://cran.us.r-project.org')"
RUN Rscript -e "install.packages('mgcv', repos = 'http://cran.us.r-project.org')"
RUN Rscript -e "install.packages('plyr', repos = 'http://cran.us.r-project.org')"
RUN Rscript -e "install.packages('CANOES', repos = 'http://zsibio.ii.pw.edu.pl/nexus/repository/r-all')"
11 changes: 11 additions & 0 deletions Docker/cnv-opt-canoescov/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM biodatageeks/cnv-opt-canoes
MAINTAINER biodatageeks <[email protected]>

RUN Rscript -e "source('https://bioconductor.org/biocLite.R');biocLite('IRanges')"
RUN Rscript -e "source('https://bioconductor.org/biocLite.R');biocLite('BSgenome.Hsapiens.UCSC.hg19')"
RUN Rscript -e "source('https://bioconductor.org/biocLite.R');biocLite('Biostrings')"
RUN Rscript -e "source('https://bioconductor.org/biocLite.R');biocLite('Rsamtools')"
RUN Rscript -e "source('https://bioconductor.org/biocLite.R');biocLite('GenomeInfoDb')"
RUN Rscript -e "source('https://bioconductor.org/biocLite.R');biocLite('S4Vectors')"

RUN Rscript -e "install.packages('CANOESCOV', repos = 'http://zsibio.ii.pw.edu.pl/nexus/repository/r-all')"
4 changes: 4 additions & 0 deletions Docker/cnv-opt-cnv-simulator/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM biodatageeks/cnv-opt-codex
MAINTAINER biodatageeks <[email protected]>

RUN Rscript -e "install.packages('CNV.SIMULATOR', repos = 'http://zsibio.ii.pw.edu.pl/nexus/repository/r-all')"
14 changes: 14 additions & 0 deletions Docker/cnv-opt-codex/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM ubuntu:xenial
MAINTAINER biodatageeks <[email protected]>

RUN apt-get update
RUN apt-get install -y software-properties-common
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
RUN add-apt-repository 'deb [arch=amd64,i386] https://cran.rstudio.com/bin/linux/ubuntu xenial/'
RUN apt-get install -y apt-transport-https

RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y r-base libssl-dev libssh2-1-dev libxml2-dev libcurl4-openssl-dev libpq-dev

RUN Rscript -e "source('https://bioconductor.org/biocLite.R');biocLite('CODEX')"
4 changes: 4 additions & 0 deletions Docker/cnv-opt-codexcov/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM biodatageeks/cnv-opt-codex
MAINTAINER biodatageeks <[email protected]>

RUN Rscript -e "install.packages('CODEXCOV', repos = 'http://zsibio.ii.pw.edu.pl/nexus/repository/r-all')"
20 changes: 20 additions & 0 deletions Docker/cnv-opt-exomecopy/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM ubuntu:xenial
MAINTAINER biodatageeks <[email protected]>

RUN apt-get update
RUN apt-get install -y software-properties-common
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
RUN add-apt-repository 'deb [arch=amd64,i386] https://cran.rstudio.com/bin/linux/ubuntu xenial/'
RUN apt-get install -y apt-transport-https

RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y r-base libssl-dev libssh2-1-dev libxml2-dev libcurl4-openssl-dev libpq-dev wget

RUN Rscript -e "source('https://bioconductor.org/biocLite.R');biocLite('IRanges')"
RUN Rscript -e "source('https://bioconductor.org/biocLite.R');biocLite('GenomicRanges')"
RUN Rscript -e "source('https://bioconductor.org/biocLite.R');biocLite('Rsamtools')"
RUN Rscript -e "source('https://bioconductor.org/biocLite.R');biocLite('GenomeInfoDb')"

RUN wget http://bioconductor.org/packages/3.5/bioc/src/contrib/exomeCopy_1.22.0.tar.gz
RUN Rscript -e "install.packages('exomeCopy_1.22.0.tar.gz', repos = NULL, type='source')"
8 changes: 8 additions & 0 deletions Docker/cnv-opt-exomecopycov/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM biodatageeks/cnv-opt-exomecopy
MAINTAINER biodatageeks <[email protected]>

RUN Rscript -e "source('https://bioconductor.org/biocLite.R');biocLite('GenomeInfoDb')"
RUN Rscript -e "source('https://bioconductor.org/biocLite.R');biocLite('BSgenome.Hsapiens.UCSC.hg19')"

RUN Rscript -e "install.packages('EXOMECOPYCOV', repos = 'http://zsibio.ii.pw.edu.pl/nexus/repository/r-all')"

21 changes: 21 additions & 0 deletions Docker/cnv-opt-exomedepth/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM ubuntu:xenial
MAINTAINER biodatageeks <[email protected]>

RUN apt-get update
RUN apt-get install -y software-properties-common
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
RUN add-apt-repository 'deb [arch=amd64,i386] https://cran.rstudio.com/bin/linux/ubuntu xenial/'
RUN apt-get install -y apt-transport-https

RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y r-base libssl-dev libssh2-1-dev libxml2-dev libcurl4-openssl-dev libpq-dev

RUN Rscript -e "source('https://bioconductor.org/biocLite.R');biocLite('Biostrings')"
RUN Rscript -e "source('https://bioconductor.org/biocLite.R');biocLite('IRanges')"
RUN Rscript -e "source('https://bioconductor.org/biocLite.R');biocLite('Rsamtools')"
RUN Rscript -e "source('https://bioconductor.org/biocLite.R');biocLite('GenomicRanges')"
RUN Rscript -e "source('https://bioconductor.org/biocLite.R');biocLite('RCurl')"
RUN Rscript -e "source('https://bioconductor.org/biocLite.R');biocLite('GenomicAlignments')"
RUN Rscript -e "install.packages('ExomeDepth', repos = 'http://cran.us.r-project.org')"

5 changes: 5 additions & 0 deletions Docker/cnv-opt-exomedepthcov/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM biodatageeks/cnv-opt-exomedepth
MAINTAINER biodatageeks <[email protected]>

RUN Rscript -e "install.packages('EXOMEDEPTHCOV', repos = 'http://zsibio.ii.pw.edu.pl/nexus/repository/r-all')"

8 changes: 8 additions & 0 deletions Docker/cnv-opt-reference-sample-set-selector/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM biodatageeks/cnv-opt-codex
MAINTAINER biodatageeks <[email protected]>

ARG CACHE_DATE=not_a_specified_date

RUN Rscript -e "install.packages('ExomeDepth', repos = 'http://cran.us.r-project.org')"

RUN Rscript -e "install.packages('REFERENCE.SAMPLE.SET.SELECTOR', repos = 'http://zsibio.ii.pw.edu.pl/nexus/repository/r-all')"
4 changes: 4 additions & 0 deletions Docker/cnv-opt-target-qc/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM biodatageeks/cnv-opt-codex
MAINTAINER biodatageeks <[email protected]>

RUN Rscript -e "install.packages('TARGET.QC', repos = 'http://zsibio.ii.pw.edu.pl/nexus/repository/r-all')"
35 changes: 23 additions & 12 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pipeline {
agent any
stages {

stage('Test R code') {
/*stage('Test R code') {
steps {
echo 'Testing R code....'
sh 'docker run -i --rm --network="host" -e CNV_OPT_PSQL_USER="cnv-opt" -e CNV_OPT_PSQL_PASSWORD="zsibio321" -e CNV_OPT_PSQL_DRV_URL="http://zsibio.ii.pw.edu.pl/nexus/repository/zsi-bio-raw/common/jdbc/postgresql-42.1.1.jar" -e CNV_OPT_PSQL_CONN_URL="jdbc:postgresql://cdh00.ii.pw.edu.pl:15432/cnv-opt" -w="/tmp" -v $(pwd | sed "s|/var/jenkins_home|/data/home/jenkins|g")/R:/tmp zsibio.ii.pw.edu.pl:50009/zsi-bio-toolset Rscript tests/run_tests.R'
Expand All @@ -12,7 +12,7 @@ pipeline {
junit '**R/tests/*.xml'
}
}
}
}*/

stage('Build R package') {
steps {
Expand All @@ -21,37 +21,48 @@ pipeline {
sh "cd R && R CMD build REFERENCE.SAMPLE.SET.SELECTOR/ && curl -v --user ${NEXUS_USER}:${NEXUS_PASS} --upload-file REFERENCE.SAMPLE.SET.SELECTOR_0.0.1.tar.gz http://zsibio.ii.pw.edu.pl/nexus/repository/r-zsibio/src/contrib/REFERENCE.SAMPLE.SET.SELECTOR_0.0.1.tar.gz"
sh "cd R && R CMD build CODEXCOV/ && curl -v --user ${NEXUS_USER}:${NEXUS_PASS} --upload-file CODEXCOV_0.0.1.tar.gz http://zsibio.ii.pw.edu.pl/nexus/repository/r-zsibio/src/contrib/CODEXCOV_0.0.1.tar.gz"
sh "cd R && R CMD build EXOMEDEPTHCOV/ && curl -v --user ${NEXUS_USER}:${NEXUS_PASS} --upload-file EXOMEDEPTHCOV_0.0.1.tar.gz http://zsibio.ii.pw.edu.pl/nexus/repository/r-zsibio/src/contrib/EXOMEDEPTHCOV_0.0.1.tar.gz"
sh "cd R && R CMD build EXOMECOPYCOV/ && curl -v --user ${NEXUS_USER}:${NEXUS_PASS} --upload-file EXOMECOPYCOV_0.0.1.tar.gz http://zsibio.ii.pw.edu.pl/nexus/repository/r-zsibio/src/contrib/EXOMECOPYCOV_0.0.1.tar.gz"
sh "cd R && R CMD build CANOESCOV/ && curl -v --user ${NEXUS_USER}:${NEXUS_PASS} --upload-file CANOESCOV_0.0.1.tar.gz http://zsibio.ii.pw.edu.pl/nexus/repository/r-zsibio/src/contrib/CANOESCOV_0.0.1.tar.gz"
sh "cd R && R CMD build CANOES/ && curl -v --user ${NEXUS_USER}:${NEXUS_PASS} --upload-file CANOES_0.0.1.tar.gz http://zsibio.ii.pw.edu.pl/nexus/repository/r-zsibio/src/contrib/CANOES_0.0.1.tar.gz"
sh "cd R && R CMD build CNVCALLER.RUNNER/ && curl -v --user ${NEXUS_USER}:${NEXUS_PASS} --upload-file CNVCALLER.RUNNER_0.0.1.tar.gz http://zsibio.ii.pw.edu.pl/nexus/repository/r-zsibio/src/contrib/CNVCALLER.RUNNER_0.0.1.tar.gz"
sh "cd R && R CMD build CNVCALLER.EVALUATOR/ && curl -v --user ${NEXUS_USER}:${NEXUS_PASS} --upload-file CNVCALLER.EVALUATOR_0.0.1.tar.gz http://zsibio.ii.pw.edu.pl/nexus/repository/r-zsibio/src/contrib/CNVCALLER.EVALUATOR_0.0.1.tar.gz"
sh "cd R && R CMD build CNV.SIMULATOR/ && curl -v --user ${NEXUS_USER}:${NEXUS_PASS} --upload-file CNV.SIMULATOR_0.0.1.tar.gz http://zsibio.ii.pw.edu.pl/nexus/repository/r-zsibio/src/contrib/CNV.SIMULATOR_0.0.1.tar.gz"
}

}

stage('Test Scala code') {
steps {
slackSend botUser: true, channel: '#development', message: 'started ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)', teamDomain: 'zsibio.slack.com'
// slackSend botUser: true, channel: '#development', message: 'started ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)', teamDomain: 'zsibio.slack.com'
echo 'Testing Scala code....'
sh "${tool name: 'sbt-0.13.15', type: 'org.jvnet.hudson.plugins.SbtPluginBuilder$SbtInstallation'}/bin/sbt test"
}
post {
always {
junit '**/target/test-reports/*.xml'
}
// sh "${tool name: 'sbt-0.13.15', type: 'org.jvnet.hudson.plugins.SbtPluginBuilder$SbtInstallation'}/bin/sbt test"
}
// post {
// always {
// junit '**/target/test-reports/*.xml'
// }
// }
}

stage('Package scala code') {
steps {
echo 'Building Scala code....'
sh "${tool name: 'sbt-0.13.15', type: 'org.jvnet.hudson.plugins.SbtPluginBuilder$SbtInstallation'}/bin/sbt package"
// sh "${tool name: 'sbt-0.13.15', type: 'org.jvnet.hudson.plugins.SbtPluginBuilder$SbtInstallation'}/bin/sbt package"
echo "Generating documentation"
sh "${tool name: 'sbt-0.13.15', type: 'org.jvnet.hudson.plugins.SbtPluginBuilder$SbtInstallation'}/bin/sbt doc"
publishHTML([allowMissing: false, alwaysLinkToLastBuild: true, keepAll: false, reportDir: 'target/scala-2.11/api/', reportFiles: 'package.html', reportName: 'Scala Doc', reportTitles: ''])
// sh "${tool name: 'sbt-0.13.15', type: 'org.jvnet.hudson.plugins.SbtPluginBuilder$SbtInstallation'}/bin/sbt doc"
// publishHTML([allowMissing: false, alwaysLinkToLastBuild: true, keepAll: false, reportDir: 'target/scala-2.11/api/', reportFiles: 'package.html', reportName: 'Scala Doc', reportTitles: ''])

}

}

stage('Build Docker images') {
steps {
echo 'Building Docker images....'
sh './build.sh'
}
}

stage('Publish to Nexus snapshots and copying assembly fat jar to the edge server') {
when {
branch 'master'
Expand Down
18 changes: 18 additions & 0 deletions R/CANOES/DESCRIPTION
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Package: CANOES
Title: CANOES Package
Version: 0.0.1
Authors@R: c(
person("Tomasz", "Gambin", email = "[email protected]", role = c("aut", "cre")),
person("Marek", "Wiewiórka", email = "[email protected]", role = c("aut")),
person("Wiktor", "Kuśmirek", email = "[email protected]", role = c("aut")))
Description: An implementation of the CANOES package in R.
Depends:
R (>= 3.2.3),
plyr (>= 1.8.4),
nnls (>= 1.4.0),
Hmisc (>= 4.0.0),
mgcv (>= 1.8.0)
License: GPL-3
Encoding: UTF-8
LazyData: true
RoxygenNote: 6.0.1.9000
2 changes: 2 additions & 0 deletions R/CANOES/NAMESPACE
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Generated by roxygen2: fake comment so roxygen2 overwrites silently.
exportPattern("^[^\\.]")
Loading