Skip to content

Commit 805342b

Browse files
committed
ci: 整合 BGE 团队使用的 Jenkins 服务
1 parent e942e02 commit 805342b

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

Jenkinsfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
node {
2+
stage('SCM') {
3+
checkout scm
4+
}
5+
environment {
6+
JAVA_HOME = '/usr/lib/jvm/jdk-11'
7+
}
8+
stage('SonarQube Analysis') {
9+
def scannerHome = tool 'SonarScanner';
10+
withSonarQubeEnv() {
11+
sh "${scannerHome}/bin/sonar-scanner"
12+
}
13+
}
14+
}
15+

0 commit comments

Comments
 (0)