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.
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).
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.
Jenkins
Python 3.x
Node.js
Slack (for notifications)