-
Tomcat (not embedded) properties:
- add example users in tomcat-users.xml:
- user username="admin" password="admin" roles="manager-gui"
- user username="jenkins-deploy-user" password="jenkins-deploy-pwd" roles="manager-script"
- run tomcat wwith .bat: apache-tomcat-9.0.85\bin\catalina.bat run
- http://localhost:8077/manager
- add example users in tomcat-users.xml:
-
H2 run command:
- java.exe" -jar h2-2.2.220.jar -web
-
Jenkins run command:
- java.exe" -jar Jenkins.war --httpPort=9099
- configure Tomcat9Credentials with username="jenkins-deploy-user" password="jenkins-deploy-pwd"
- create new pipeline fetching from github repo and Jenkinsfile
- add parameter 'emailRecipient' with default value ""
- Start pipeline
michalg84/jenkins-spring-example
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|