[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

View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
make clean
mkdir build
cd build
cmake .. "$@"
make