Skip to content

Commit

Permalink
Updated atlas plugin to 2.2.0 and added sonarqube support (#104)
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 ac20a10 commit f611f13
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,17 @@

withCredentials([usernameColonPassword(credentialsId: 'artifactory_publish', variable: 'artifactory_publish'),
usernameColonPassword(credentialsId: 'artifactory_deploy', variable: 'artifactory_deploy'),
string(credentialsId: 'atlas_unity_coveralls_token', variable: 'coveralls_token')]) {
string(credentialsId: 'atlas_unity_coveralls_token', variable: 'coveralls_token'),
string(credentialsId: 'atlas_plugins_sonar_token', variable: 'sonar_token')]) {

def testEnvironment = [
"artifactoryCredentials=${artifactory_publish}",
"nugetkey=${artifactory_deploy}"
]

buildGradlePlugin plaforms: ['osx','windows','linux'],
buildGradlePlugin platforms: ['macos','windows','linux'],
coverallsToken: coveralls_token,
sonarToken: sonar_token,
testEnvironment: testEnvironment,
labels: 'primary'
}
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 f611f13

Please sign in to comment.