jenkins

Jenkins Deploying Java Applications to Tomcat Server

For Java programs, Jenkins requires the use of build tools such as maven, ant, etc., with maven being more popular. Here we use maven to implement the deployment of Java applications. Prepare Java code in GitLab Deploy Tomcat and configure it apt-get -y install tomcat9 tomcat9-admin cp -r /usr/share/tomcat9-admin/* /var/lib/tomcat9/webapps/ Open /var/lib/tomcat9/conf/tomcat-users.xml and do the following configuration. Add the following three lines to create users and authorize them. manager-script for remote script execution privileges <role rolename="manager-gui"/> <role rolename="manager-script"/> <user username="tomcat" password="tomcat" roles="manager-gui,manager-script"/> Open /var/lib/tomcat9/webapps/manager/META-INF/context.

Java8 is going down? Jenkins announces support for Java 11 and above only

Jenkins, an open source Devops tool, announced: Starting with the June 28th release of Jenkins 2.357 and the upcoming September LTS release, Jenkins requires Java 11 as a minimum. Originally known as Hudson, Jenkins is a venerable continuous integration tool that has been in existence for over a decade. Since its inception in 2005, the Jenkins project has undergone several Java migrations. The current migration from Java 8 to Java 11 is consistent with the migration history in the Jenkins project.