exp 6

 /* Log into Jenkins: Open your browser and navigate to your Jenkins URL (e.g., http://localhost:8080).

Create a New Job:Click "New Item" on the Jenkins dashboard.
Enter Item Name: e.g., HelloMaven-CI. Don’t change the project name (if a project with this name already exists then delete the existing project),
Select "Freestyle project" and click "OK".
*/
https://github.com/devops-ds/your-maven-project.git
/usr/bin/mvn clean package
ansible-playbook -i hosts.ini deploy.yml
target/*.jar



ls -l /var/lib/jenkins/deployment/

Comments

Popular posts from this blog

pom.xml

exp 5