Skip to content

This repository demonstrates a Jenkins pipeline for automating tasks.

Notifications You must be signed in to change notification settings

PattiyaY/Jenkins-integration-with-GIT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins-integration-with-GIT

This repository demonstrates a Jenkins pipeline for automating tasks with Python and JavaScript scripts.
The pipeline includes stages to check the build environment, execute a Python script, read a JavaScript file,
and send a Slack notification upon completion.

Pipeline Overview

Agent: Any available agent.
Environment Variables:

  • PYTHON_FILE: Specifies the Python script to run (helloworld.py).
  • JAVASCRIPT_FILE: Specifies the JavaScript file to read (helloworld.js).

Pipeline Stages

Check:

  • Outputs the current date, GIT branch, build ID, and build URL.

Run Python Script:

  • Executes the specified Python script.

Read JavaScript File:

  • Displays the content of the specified JavaScript file.

Slack Notification:

  • Sends a Slack message indicating the completion of the testing stages.

Requirements

Jenkins
Python 3.x
Node.js
Slack (for notifications)

About

This repository demonstrates a Jenkins pipeline for automating tasks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published