From f611f13f6aabd54f9ede166e7dc572a7787603b6 Mon Sep 17 00:00:00 2001 From: Joaquim Alvino de Mesquita Neto Date: Mon, 5 Jul 2021 07:18:13 -0300 Subject: [PATCH] Updated atlas plugin to 2.2.0 and added sonarqube support (#104) Atlas plugin gradle plugin updated to 2.2.0, and added Sonarqube support on Jenkinsfile. Co-authored-by: Joaquim Neto --- Jenkinsfile | 6 ++++-- build.gradle | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index fb0de695..98f26244 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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' } diff --git a/build.gradle b/build.gradle index f62a1405..4899fe12 100644 --- a/build.gradle +++ b/build.gradle @@ -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'