|
2 | 2 | <html lang="en"> |
3 | 3 | <head> |
4 | 4 | <meta charset="UTF-8"> |
5 | | - <meta name="viewport" content="width=device-width, initial-scale=1"> |
6 | | - <title>Jenkins CICD</title> |
7 | | - <link rel="stylesheet" href="style.css"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 6 | + <title>Jenkins Tutorial</title> |
| 7 | + <link rel="stylesheet" href="styles.css"> |
8 | 8 | </head> |
9 | 9 | <body> |
10 | 10 | <header> |
11 | 11 | <nav> |
12 | | - <h1>Jenkins CI/CD</h1> |
| 12 | + <h1>Jenkins Tutorial</h1> |
13 | 13 | <ul> |
14 | | - <li><a href="#">Home</a></li> |
15 | | - <li><a href="#">About</a></li> |
16 | | - <li><a href="#">Services</a></li> |
17 | | - <li><a href="#">Contact</a></li> |
| 14 | + <li><a href="#introduction">Introduction</a></li> |
| 15 | + <li><a href="#setup">Setup</a></li> |
| 16 | + <li><a href="#pipeline">Pipeline</a></li> |
| 17 | + <li><a href="#resources">Resources</a></li> |
18 | 18 | </ul> |
19 | 19 | </nav> |
20 | 20 | </header> |
21 | | - |
| 21 | + |
22 | 22 | <main> |
23 | | - <section class="hero"> |
24 | | - <h2>Welcome to a Jenkins Tutorial</h2> |
25 | | - <p>Experience a clean and modern design inspired by simplicity and functionality. This webpage is crafted to deliver a stunning visual experience while keeping things straightforward.</p> |
26 | | - <a href="#" class="btn">Discover More</a> |
| 23 | + <section id="introduction"> |
| 24 | + <h2>Introduction to Jenkins</h2> |
| 25 | + <p> |
| 26 | + Jenkins is an open-source automation server that helps orchestrate software development processes such as building, testing, and deploying applications. With its extensive plugin ecosystem, Jenkins supports a wide range of automation tasks. |
| 27 | + </p> |
| 28 | + </section> |
| 29 | + |
| 30 | + <section id="setup"> |
| 31 | + <h2>Jenkins Installation and Setup</h2> |
| 32 | + <p>Follow these steps to get Jenkins up and running:</p> |
| 33 | + <ol> |
| 34 | + <li>Download the latest Jenkins WAR file from the <a href="https://www.jenkins.io/download/">official Jenkins website</a>.</li> |
| 35 | + <li>Launch Jenkins by running the command: <code>java -jar jenkins.war</code>.</li> |
| 36 | + <li>Open your browser and navigate to <a href="http://localhost:8080">http://localhost:8080</a>.</li> |
| 37 | + <li>Complete the initial setup process and install your preferred plugins.</li> |
| 38 | + </ol> |
| 39 | + </section> |
| 40 | + |
| 41 | + <section id="pipeline"> |
| 42 | + <h2>Creating a Jenkins Pipeline</h2> |
| 43 | + <p>Create pipelines to automate your builds and deployments. Here’s a basic example of a Jenkinsfile:</p> |
| 44 | + <pre> |
| 45 | +pipeline { |
| 46 | + agent any |
| 47 | + stages { |
| 48 | + stage('Build') { |
| 49 | + steps { |
| 50 | + echo 'Building...' |
| 51 | + } |
| 52 | + } |
| 53 | + stage('Test') { |
| 54 | + steps { |
| 55 | + echo 'Testing...' |
| 56 | + } |
| 57 | + } |
| 58 | + stage('Deploy') { |
| 59 | + steps { |
| 60 | + echo 'Deploying...' |
| 61 | + } |
| 62 | + } |
| 63 | + } |
| 64 | +} |
| 65 | + </pre> |
| 66 | + </section> |
| 67 | + |
| 68 | + <section id="resources"> |
| 69 | + <h2>Additional Resources</h2> |
| 70 | + <p>For more detailed documentation and tutorials, consider visiting:</p> |
| 71 | + <ul> |
| 72 | + <li><a href="https://www.jenkins.io/doc/">Official Jenkins Documentation</a></li> |
| 73 | + <li><a href="https://www.jenkins.io/solutions/">Jenkins Solutions</a></li> |
| 74 | + <li><a href="https://www.jenkins.io/redirect/integrations/">Jenkins Plugins and Integrations</a></li> |
| 75 | + </ul> |
27 | 76 | </section> |
28 | 77 | </main> |
29 | | - |
| 78 | + |
30 | 79 | <footer> |
31 | | - <p>© 2025 Jenkins Tutorial. All rights reserved.</p> |
| 80 | + <p>© 2025 Jenkins Tutorial | Created by Rick</p> |
32 | 81 | </footer> |
33 | 82 | </body> |
34 | 83 | </html> |
0 commit comments