https://github.com/harsh-valecha/pytest_cicd_automation1
https://github.com/harsh-valecha/pytest_cicd_automation1
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/harsh-valecha/pytest_cicd_automation1
- Owner: harsh-valecha
- Created: 2024-07-06T19:48:40.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-09T14:50:36.000Z (about 1 year ago)
- Last Synced: 2025-01-12T02:09:42.806Z (6 months ago)
- Language: JavaScript
- Size: 21.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Pytest Demo Project with Allure reporting -

Jenkins Stages for pipeline -
```
pipeline {
agent anystages {
stage('checkout') {
steps {
checkout scmGit(branches: [[name: '*/main']], extensions: [], userRemoteConfigs: [[url: 'https://github.com/harsh-valecha/pytest_cicd_automation1.git']])
}
}
stage('test'){
steps{
bat 'python -m pytest -v test_ops.py --html=report.html'
}
}
}
}
```