https://github.com/savalione/jenkins-cpp-example
An example C++ project demonstrating Jenkins CI/CD integration.
https://github.com/savalione/jenkins-cpp-example
cicd cpp example jenkins
Last synced: 8 months ago
JSON representation
An example C++ project demonstrating Jenkins CI/CD integration.
- Host: GitHub
- URL: https://github.com/savalione/jenkins-cpp-example
- Owner: SavaLione
- License: gpl-3.0
- Created: 2025-06-26T11:13:47.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-06-26T11:53:18.000Z (8 months ago)
- Last Synced: 2025-06-26T12:47:58.888Z (8 months ago)
- Topics: cicd, cpp, example, jenkins
- Language: C
- Homepage:
- Size: 56.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jenkins-cpp-example
`jenkins-cpp-example` is an example C++ project demonstrating Jenkins CI/CD integration, primarily by allowing explicit control over its exit status for testing purposes.
## Prerequisites (to build the C++ project)
Before you begin, ensure you have the following installed:
* [Git](https://git-scm.com/)
* [CMake](https://cmake.org/) (version 3.16 or higher recommended)
* A C++ compiler that supports C++11 (GCC, Clang, MSVC)
* (Optional, for documentation) [Doxygen](https://www.doxygen.nl/)
## Building the C++ project
1. Clone the repository: `git clone https://github.com/SavaLione/jenkins-cpp-example.git`
2. Navigate to the project directory: `cd jenkins-cpp-example`
3. Create and enter a build directory: `mkdir build && cd build`
4. Configure the project with CMake: `cmake ..`
5. Compile the project:
* Linux/BSD: `make`
* Windows using MSBuild (typically found with Visual Studio): `MSBuild.exe jenkins-cpp-example.sln`
* Using Ninja: `ninja`
The executable `jenkins-cpp-example` (or `jenkins-cpp-example.exe` on Windows) will be located in the `build` directory (or a subdirectory like `build/Release` depending on your generator and configuration).
## Documentation
This project supports Doxygen for code documentation.
To generate the documentation, navigate to the project's root directory and run:
```bash
doxygen doxyfile
```
## License
`jenkins-cpp-example` is licensed under the terms of [The GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0.en.html).