[BUILD] Dockerfile and Jenkinsfile revisited (#2514)

Includes:
  - Dockerfile changes
    - Dockerfile clean up
    - Fix execution privileges of files used from Dockerfile.
    - New Dockerfile entrypoint to replace with_user script
    - Defined a placeholders for CPU testing (script and Dockerfile)
  - Jenkinsfile
    - Jenkins file milestone defined
    - Single source code checkout and propagation via stash/unstash
    - Bash needs to be explicitly used in launching make build, since we need
access to environment
    - Jenkinsfile build factory for cmake and make style of jobs
    - Archivation of artifacts (*.so, *.whl, *.egg) produced by cmake build

Missing:
  - CPU testing
  - Python3 env build and testing
This commit is contained in:
Michal Malohlava
2017-07-12 22:51:47 -07:00
committed by Rory Mitchell
parent 66874f5777
commit 33ee7d1615
10 changed files with 300 additions and 105 deletions

5
tests/ci_build/test_gpu.sh Normal file → Executable file
View File

@@ -1,10 +1,5 @@
#!/usr/bin/env bash
mkdir build
cd build
cmake .. -DPLUGIN_UPDATER_GPU=ON
make
cd ..
cd python-package
python setup.py install --user
cd ../plugin/updater_gpu