Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.08 KB

README.md

File metadata and controls

36 lines (27 loc) · 1.08 KB

Jenkins Pipeline Test Project

This is a test project demonstrating Jenkins pipeline functionality.

Pipeline Setup Instructions

  1. Access Jenkins at http://localhost:8080

  2. Create a new Pipeline:

    • Click "New Item" on the Jenkins dashboard
    • Enter a name for your pipeline (e.g., "test-pipeline")
    • Select "Pipeline" as the project type
    • Click "OK"
  3. Configure Pipeline:

    • In the pipeline configuration page, scroll down to the "Pipeline" section
    • Select "Pipeline script from SCM" in the Definition dropdown
    • Select "Git" in the SCM dropdown
    • Enter your repository URL
    • Specify the branch (e.g., "/main" or "/master")
    • Set the Script Path to "Jenkinsfile"
    • Click "Save"
  4. Run the Pipeline:

    • Click "Build Now" to run the pipeline
    • View the progress in the Stage View
    • Check console output for detailed logs

Pipeline Structure

The pipeline includes three main stages:

  • Build: Simulates building the application
  • Test: Simulates running tests
  • Deploy: Simulates deployment

Each stage will echo its status for demonstration purposes.