Skip to content

Commit b98f6cd

Browse files
committed
Add two graphics
1 parent d36f52e commit b98f6cd

4 files changed

+23
-0
lines changed

_posts/2016-10-01-automating-php-application-with-ant.md

+11
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,17 @@ In order to work the following requirements have to be installed properly.
1818

1919
Please refer to the appropriate documention which guides you through the installation process.
2020

21+
## The workflow
22+
23+
A simplified PHP build process workflow follows looks like this.
24+
25+
<img class="pure-img" src="/img/php-workflow-with-ant.png" alt="a simplified PHP build process">
26+
27+
1. The build process is invoked manually on the command line CLI for example.
28+
2. Apache Ant first downloads the Composer PHP-Archive and starts the install process of Composer.
29+
3. Composer installs all PHP-Libraries that are listed in the config file like PHPUnit, PHPCS, Pdepend or PhpDox.
30+
4. Apache Ant loops through the PHP-Tools and executes them, writes Logfiles and prints out human readable messages to the CLI.
31+
2132
## Git
2233

2334
Use the following commands to clone the project to your local machine and change to the project directory.

_posts/2016-10-14-continuous-integration-with-jenkins.md

+12
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,18 @@ Before you can walk through this article you **must** have read the depending ar
3535

3636
---
3737

38+
# A simple workflow
39+
40+
A simplified Continuous Integration workflow based on Jenkins CI follows these steps.
41+
42+
<img class="pure-img" src="/img/php-workflow-with-jenkins.png" alt="a simplified Continuous Integration workflow">
43+
44+
1. The Continuous Integration Server like Jenkins CI starts the build process of Apache Ant. This process is invoked by a commit to the Git repo for example.
45+
2. Apache Ant first downloads the Composer PHP-Archive and starts the install process of Composer.
46+
3. Composer installs all PHP-Libraries that are listed in the config file like PHPUnit, PHPCS, Pdepend or PhpDox.
47+
4. Apache Ant loops through the PHP-Tools and executes them, writes different Logfiles and prints out messages to the CLI.
48+
5. The Continuous Integration Server processes the different logfiles, prints them out in a human readable format and creates some graphics. Furthermore it informs project members by e-mail about the build status.
49+
3850
# Install recommended Jenkins plugins
3951
{:id="install"}
4052

img/php-workflow-with-ant.png

37.5 KB
Loading

img/php-workflow-with-jenkins.png

57.8 KB
Loading

0 commit comments

Comments
 (0)