Pada tulisan ini, akan digunakan self-hosted Jenkins di laptop penulis yang menggunakan OS Linux Mint, sehingga dipilih bagian Ubuntu/Debian (https://pkg.jenkins.io/debian-stable/)
Tambahkan repository Jenkins untuk instalasi. Pertama, tambahkan key terlebih dahulu dengan perintah berikut.
jenkins --httpPort=8081 ββ―
Running from: /usr/share/java/jenkins.war
webroot: /home/faseero0/.jenkins/war
2023-03-16 01:39:14.304+0000 [id=1] INFO winstone.Logger#logInternal: Beginning extraction from war file
2023-03-16 01:39:14.386+0000 [id=1] WARNING o.e.j.s.handler.ContextHandler#setContextPath: Empty contextPath
2023-03-16 01:39:14.488+0000 [id=1] INFO org.eclipse.jetty.server.Server#doStart: jetty-10.0.13; built: 2022-12-07T20:13:20.134Z; git: 1c2636ea05c0ca8de1ffd6ca7f3a98ac084c766d; jvm 11.0.18+10-post-Ubuntu-0ubuntu122.04
2023-03-16 01:39:15.071+0000 [id=1] INFO o.e.j.w.StandardDescriptorProcessor#visitServlet: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
2023-03-16 01:39:15.187+0000 [id=1] INFO o.e.j.s.s.DefaultSessionIdManager#doStart: Session workerName=node0
2023-03-16 01:39:15.957+0000 [id=1] INFO hudson.WebAppMain#contextInitialized: Jenkins home directory: /home/faseero0/.jenkins found at: $user.home/.jenkins
2023-03-16 01:39:16.224+0000 [id=1] INFO o.e.j.s.handler.ContextHandler#doStart: Started w.@15bcf458{Jenkins v2.387.1,/,file:///home/faseero0/.jenkins/war/,AVAILABLE}{/home/faseero0/.jenkins/war}
2023-03-16 01:39:16.249+0000 [id=1] INFO o.e.j.server.AbstractConnector#doStart: Started ServerConnector@32cf48b7{HTTP/1.1, (http/1.1)}{0.0.0.0:8081}
2023-03-16 01:39:16.291+0000 [id=1] INFO org.eclipse.jetty.server.Server#doStart: Started Server@69b794e2{STARTING}[10.0.13,sto=0] @2600ms
2023-03-16 01:39:16.296+0000 [id=24] INFO winstone.Logger#logInternal: Winstone Servlet Engine running: controlPort=disabled
2023-03-16 01:39:16.743+0000 [id=31] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
2023-03-16 01:39:16.774+0000 [id=36] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
2023-03-16 01:39:17.955+0000 [id=29] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
2023-03-16 01:39:17.962+0000 [id=29] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
2023-03-16 01:39:17.972+0000 [id=30] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
2023-03-16 01:39:18.289+0000 [id=36] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
2023-03-16 01:39:18.290+0000 [id=32] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
2023-03-16 01:39:18.292+0000 [id=36] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
2023-03-16 01:39:18.294+0000 [id=35] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
2023-03-16 01:39:18.350+0000 [id=49] INFO hudson.util.Retrier#start: Attempt #1 to do the action check updates server
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (file:/home/faseero0/.jenkins/war/WEB-INF/lib/groovy-all-2.4.21.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2023-03-16 01:39:18.978+0000 [id=34] INFO jenkins.install.SetupWizard#init:
*************************************************************
*************************************************************
*************************************************************
Jenkins initial setup is required. An admin user has been created and a password generated.
Please use the following password to proceed to installation:
3bc09f9394254ade8be1473e56aed72e
This may also be found at: /home/faseero0/.jenkins/secrets/initialAdminPassword
*************************************************************
*************************************************************
*************************************************************