Commit Graph

9 Commits

Author SHA1 Message Date
John Blum
87cacad589 Refactor Jenkins CI build (Jenkinsfile) to use ci/pipeline.properties to parameterize the build.
* Map and set the 'jenkins' user home directory (/home/jenkins) on the host (Jenkins server / worker node) filesystem to the Docker Container (virtual) filesystem's /tmp/jenkins-home directory.
* Change Docker Container 'inside' environment settings when deploying artifacts and docs to no longer set the '--name' option.
2022-02-23 10:47:07 -08:00
John Blum
0f3945a425 Remove use of temporary directories ('/tmp/geode/*') for bulid artifacts.
The 'gradle.user.home' JVM System property no longer seems valid in Gradle 7.x.
2022-02-23 10:47:07 -08:00
John Blum
102928314c Add sub-project-specific directory (e.g. 'boot') under /tmp/geode directory on build machine. 2021-04-14 14:51:43 -07:00
John Blum
ebe48bd62b Create and use different/separate Gradle caches (directory locations) for build, artifacts and docs phases/stages. 2021-04-08 15:06:03 -07:00
John Blum
11e8e7aa3b Login as 'root' when forking the Docker containers used to deploy artifacts & docs.
Reinstate the declaration of the 'user.name' Java System System Property set to 'jenkins' during the Build phase (check).

Execute chown command to change the owner of the SBDG build directory to 'jenkins' prior to deploying artifacts & docs.

Declare the 'user.name' (set to 'jenkins') and `java.io.tmpdir' (set to '/tmp') Java System Properties in Gradle Options prior to deploying artifacts & docs.
2021-04-08 13:21:27 -07:00
John Blum
56ca80ff73 Polish. 2021-04-07 21:02:44 -07:00
John Blum
59b7f678b3 Set the 'java.io.tmpdir' Java System Property to '/tmp'. 2021-04-07 20:52:51 -07:00
John Blum
b2c1363d76 Move 'docker login' command to setup.sh.
Move 'chown' and and 'mkdir /tmp/jenkins-home' commmands to setup.sh.

Add 'exit 0' commands to the cleanup Bash shell scripts.

Add 'echo' commands to log build progress.
2021-04-07 20:49:27 -07:00
John Blum
01347ac4af Separate Jenkins CI build Pipeline Steps into individual Bash shell scripts. 2021-04-07 20:36:04 -07:00