Private notes

This commit is contained in:
JustFiesta 2024-04-28 13:38:15 +02:00
parent 711e0f0fd6
commit 449d1730c9
2 changed files with 13 additions and 0 deletions

5
Notes/Checkstyle.md Normal file
View file

@ -0,0 +1,5 @@
# Checkstyle info
[Great video about how iut works and how to configure this plugin](https://www.youtube.com/watch?v=zo3zyyo7Vkw&ab_channel=LeanStacks)
Reports are at: /build/reports/checkstyle/*

View file

@ -0,0 +1,8 @@
# Steps to creaet jenkins pipeline
1. Set credentials for Github/Docker/Nexus etc. **GitHub Tokens** shloud have premissions to hooks and commit status
2. If publish servers are needed - install publish over SSH plugin
3. Configure SSH Servers in Jenkins configuration (from Publish Over SSH plugin) to prod/test etc. **Name** is important for pipeline script!
4. Set credentials for these servers - ssh-keygen, then copy private key to jenkins/username + password. **ID** is importat for pipeline script!
5. Configure MultiBranch Pipeline to watch over code commits with GitHub creds on certain branches.
6. Configure Jenkinsfile pipeline