Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Updated atlas plugin to 2.2.0 and added sonarqube support (#86)
Browse files Browse the repository at this point in the history
atlas plugin gradle plugin updated to 2.2.0, and added Sonarqube support on Jenkinsfile.

Co-authored-by: Joaquim Neto <[email protected]>
  • Loading branch information
Joaquimmnetto and Joaquimmnetto authored Jul 5, 2021
1 parent 75f4987 commit 2e66233
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@

withCredentials([usernamePassword(credentialsId: 'github_integration', passwordVariable: 'githubPassword', usernameVariable: 'githubUser'),
usernamePassword(credentialsId: 'github_integration_2', passwordVariable: 'githubPassword2', usernameVariable: 'githubUser2'),
string(credentialsId: 'atlas_github_coveralls_token', variable: 'coveralls_token')]) {
string(credentialsId: 'atlas_github_coveralls_token', variable: 'coveralls_token'),
string(credentialsId: 'atlas_plugins_sonar_token', variable: 'sonar_token')]) {

def testEnvironment = [ 'osx':
def testEnvironment = [ 'macos':
[
"ATLAS_GITHUB_INTEGRATION_USER=${githubUser}",
"ATLAS_GITHUB_INTEGRATION_PASSWORD=${githubPassword}"
Expand All @@ -33,5 +34,5 @@ withCredentials([usernamePassword(credentialsId: 'github_integration', passwordV
]
]

buildGradlePlugin plaforms: ['osx','windows'], coverallsToken: coveralls_token, testEnvironment: testEnvironment
buildGradlePlugin platforms: ['macos','windows'], coverallsToken: coveralls_token, sonarToken: sonar_token, testEnvironment: testEnvironment
}
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

plugins {
id 'net.wooga.plugins' version '2.1.1'
id 'net.wooga.plugins' version '2.2.0'
}

group 'net.wooga.gradle'
Expand Down

0 comments on commit 2e66233

Please sign in to comment.