-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
Migrate Jenkins shared library from scripted to declarative pipeline syntax.
Motivation
- Declarative pipelines are more readable and maintainable
- Better IDE support and linting
- Easier onboarding for new team members
- Improved error handling with post sections
Proposed Solution
- Create declarative equivalents for all scripted pipelines
- Maintain backward compatibility during transition
- Add pipeline syntax validation
- Update documentation with examples
Acceptance Criteria
- All core pipelines converted to declarative
- Backward compatibility layer for legacy pipelines
- Blue Ocean compatibility verified
- Documentation updated
- Migration guide for existing users
Example Transformation
// Before (Scripted)
node('linux') {
stage('Build') {
sh 'make build'
}
}
// After (Declarative)
pipeline {
agent { label 'linux' }
stages {
stage('Build') {
steps {
sh 'make build'
}
}
}
}Commits should follow
refactor(pipeline): migrate buildJava to declarative
refactor(pipeline): migrate deployK8s to declarative
docs: add declarative pipeline migration guide
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request