1. Add java, maven etc through Manage Jenkins
2. Create a pipeline type Jenkins job.
3. Check Discard old builds
pipeline{
agent any
tools{}
stages{
stage('checkout'){
steps{
}}
Stage('code compiler'){
}
Stage('sonar cube analysis'){
}
}
}
1. Add java, maven etc through Manage Jenkins
2. Create a pipeline type Jenkins job.
3. Check Discard old builds
pipeline{
agent any
tools{}
stages{
stage('checkout'){
steps{
}}
Stage('code compiler'){
}
Stage('sonar cube analysis'){
}
}
}
Comments
Post a Comment