8008135/Jenkinsfile

27 lines
321 B
Plaintext
Raw Permalink Normal View History

2020-01-30 17:02:13 +01:00
#!/usr/bin/env groovy
pipeline {
2020-01-30 17:13:10 +01:00
agent any
2020-01-30 17:09:39 +01:00
stages{
stage('checkout VCS'){
steps{
2020-01-30 17:02:13 +01:00
checkout scm
}
2020-01-30 17:13:10 +01:00
}
2020-01-30 17:02:13 +01:00
2020-01-30 17:13:10 +01:00
stage('compile'){
2020-01-30 17:14:31 +01:00
steps{
sh 'echo "fake-compiling..."'
}
2020-01-30 17:13:10 +01:00
}
2020-01-30 17:02:13 +01:00
2020-01-30 17:13:10 +01:00
stage('deploySONAR'){
2020-01-30 17:14:31 +01:00
steps{
2020-01-31 00:07:40 +01:00
sh 'sonar-scanner'
2020-01-30 17:14:31 +01:00
}
2020-01-30 17:13:10 +01:00
}
2020-01-30 17:02:13 +01:00
}
2020-01-30 17:05:04 +01:00
}