Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
pipeline{
agent{
node{
label 'docker'
}
}
stages{
stage('verify tools'){
steps{
sh '''
docker version
docker-compose version
'''
}
}

stage('sonarqube-scanning'){
steps{
script{
withSonarQubeEnv('SDPM_Sonarqube'){
def scannerHome = tool 'SonarQube_Scanner'
sh "${scannerHome}/bin/sonar-scanner"
}
}
}
}
}
}
1 change: 1 addition & 0 deletions fork workshop/新增 文字文件.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dsf
1 change: 1 addition & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sonar.projectKey=RinGitHub