I initiate a
Dockerfile to allow a common platform for test build under Ubuntu 20.04, followed by a Jenkinsfile using it.
Content of this pull request:
sp-tools.shwill crash easier on unhandled error, mainly if dependencies are not met
Dockerfileinstalling all dependencies
Jenkinsfileto build the project
- Remove the usage of
/dev/ttyas it doesn’t work on headless environment as Jenkins
- A completed dependencies list (
mysql-devwere removed as it doesn’t exist on the 3 last LTS Ubuntu releases)
Note: Even with dependencies, the build fail as I signaled on https://github.com/GrangerHub/Stellar-Prey/issues/5
Sample Jenkins output: https://pastebin.com/3FFSbbiF
I used Jenkins as it’s not commercial and works fine, but I could also learn to use Travis CI if needed.