36 lines
597 B
Groovy
36 lines
597 B
Groovy
pipeline {
|
|
|
|
agent {
|
|
node {
|
|
label 'master'
|
|
}
|
|
}
|
|
|
|
options {
|
|
buildDiscarder logRotator(
|
|
daysToKeepStr: '16',
|
|
numToKeepStr: '10'
|
|
)
|
|
}
|
|
|
|
stages {
|
|
|
|
|
|
stage(' Unit Testing') {
|
|
steps {
|
|
sh """
|
|
echo "Running Unit Tests"
|
|
"""
|
|
}
|
|
}
|
|
|
|
stage('Code Analysis') {
|
|
steps {
|
|
sh """
|
|
echo "Running Code Analysis"
|
|
"""
|
|
}
|
|
}
|
|
|
|
}
|
|
} |