Skip to content

Latest commit

 

History

131 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

This is simple Java and Spring Boot project to be used for Jenkins pipelines learning.

Base pipeline builds app form github, runs tests and then deploys to local Tomcat server.
  1. 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
  2. H2 run command:

    • java.exe" -jar h2-2.2.220.jar -web
  3. 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

About

Status: IN PROGRESS. A basic Jenkins pipeline with local Jenkins and Tomcat for learning pipelines.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages