John Blum
d0deadefbb
Switch Jenkinsfile to build on 'any' agent.
2021-04-12 15:13:20 -07:00
John Blum
cd9c9f8561
Serialize the deployment of artifacts & docs.
2021-04-08 23:05:35 -07:00
John Blum
fabf9dec13
Move (start) the deployment of docs stage before the deployment of artifacts stage.
2021-04-08 22:08:48 -07:00
John Blum
30b7c66f23
Name the Docker container forks for the deployment of artifacts & docs after the hostname.
...
Log (echo) the $HOSTNAME for the host running each deployment.
2021-04-08 22:08:07 -07:00
John Blum
3550f3c124
Map the /tmp directory between the host Jenkins node and the Docker container.
2021-04-08 20:55: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
fee8821d89
Disable the Gradle build-cache & configuration-cache when deploying artifacts.
...
Remove the unnecessary --refresh-dependencies option when deploying artifacts & docs.
2021-04-07 21:01:10 -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
65e111dd0f
Use Docker to deploy artifacts & docs.
2021-04-07 20:47:59 -07:00
John Blum
64cff111bf
Maintain 15 previous Jenkins CI build results.
2021-04-07 20:47:55 -07:00
John Blum
766d2d08eb
Define 'DOCKER_HUB' (build) environment variable to access the credentials (username/password) required to login to Docker.
2021-04-07 20:47:50 -07:00
John Blum
404f8759e8
Fix Jenkinsfile syntax errors.
...
Remove outer, erroneous try-finally block wrapping the build stages and then attempting to 'notify' users of the build result.
Change finally block to a post block.
Add slacksend notification.
2021-04-07 20:37:22 -07:00
John Blum
7144a5e4af
Refactor Jenkinsfile to use Bash shell scripts to execute individual, isolated Steps in the Staged Jenkins CI build Pipeline.
2021-04-07 20:36:24 -07:00
John Blum
56497fb9ec
Edit comments.
2021-04-02 13:41:38 -07:00
John Blum
92b27be07f
Wrap deploy artifacts & deploy docs in a 'withEnv' directive to set the JAVA_HOME env var on the host machine (Jenkins node) before Gradle is run.
2021-04-02 13:41:38 -07:00
John Blum
d553406262
Mount the Docker socket to allow Testcontainers to spawn (new) containers inside the build Docker container.
2021-04-02 13:41:38 -07:00
John Blum
16dc3331a8
Define GRADLE_OPTS environment variable for Gradle command/builds.
...
Remove any working directory based .m2/ or .gradle/ directories created by the Gradle build.
2021-04-02 13:41:11 -07:00
John Blum
132003b430
Switch Jenkins CI build (Jenkinsfile) to use the Declarative Pipeline Syntax, build within Docker containers and target Jenkins nodes with the 'geode' label.
2021-04-02 13:40:18 -07:00
John Blum
9ec6d221f2
Cleanup any GemFire/Geode file system resources prior to the 'check' (build).
2021-03-30 17:20:26 -07:00
John Blum
49398ebe89
Change Jenkins CI build timeout to 15 minutes.
2021-03-30 17:02:37 -07:00
John Blum
9054cf84ea
Fix syntax errors in Jenkinsfile.
2019-05-29 10:55:38 -07:00
John Blum
93faf97edd
Switch generic node closure to running on a 'linux' node.
...
Change project properties definition to nested closure.
2019-05-29 10:09:28 -07:00
John Blum
57ae236e0c
Configure environment with JDK (8) by setting JAVA_HOME.
2019-05-29 08:43:05 -07:00
John Blum
4813d04400
Disable Debug mode and enable Info mode in CI Gradle builds.
...
Debug mode generated too much build log output and resulted in... 'The job exceeded the maximum log length, and has been terminated.'
2018-10-06 16:36:29 -07:00
John Blum
4fb37db088
Disable Stack Trace and enable Debug mode in CI Gradle builds.
2018-10-06 14:19:26 -07:00
John Blum
2e8b8162f4
Enable Stack Trace on CI Gradlew builds.
2018-10-06 12:13:15 -07:00
John Blum
57bb65872a
Update Jenkins build script file.
...
Remove 'springio' Jenkins build task (check).
2018-08-29 23:16:18 -07:00
John Blum
a2b8fe52f2
Add Jenkins build pipeline timeouts (10 Minutes) to the 'Check' and 'Spring IO' stages.
2018-08-22 14:59:09 -07:00
John Blum
2d2411791f
Add 'Deploy Docs' build phase/task.
2018-06-25 21:18:32 -07:00
John Blum
8adaca453a
Upgrade to Spring IO Platform Cairo-SR2 for springIoCheck.
2018-06-20 15:50:47 -07:00
John Blum
794db44bec
Set Spring IO Platform version to Cairo-RELEASE in the springIoCheck build step/task.
2018-06-20 13:56:31 -07:00
John Blum
2a5cb36398
Remove 'Deploy Docs' stage.
2018-03-22 14:49:50 -07:00
John Blum
87f2acada9
Fix Ant glob path expression for 'Check' stage junit test results.
2018-03-22 14:38:48 -07:00
John Blum
a9b9397f85
Add Jenkinsfile build configuration.
2018-03-20 12:40:52 -07:00