From 449d1730c95b2af1d00fb132eb29120d2bb2252c Mon Sep 17 00:00:00 2001 From: JustFiesta Date: Sun, 28 Apr 2024 13:38:15 +0200 Subject: [PATCH] Private notes --- Notes/Checkstyle.md | 5 +++++ Notes/Creating pipeline.md | 8 ++++++++ 2 files changed, 13 insertions(+) create mode 100644 Notes/Checkstyle.md create mode 100644 Notes/Creating pipeline.md diff --git a/Notes/Checkstyle.md b/Notes/Checkstyle.md new file mode 100644 index 000000000..b88b5e642 --- /dev/null +++ b/Notes/Checkstyle.md @@ -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/* \ No newline at end of file diff --git a/Notes/Creating pipeline.md b/Notes/Creating pipeline.md new file mode 100644 index 000000000..3eea431ba --- /dev/null +++ b/Notes/Creating pipeline.md @@ -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