diff --git a/Jenkinsfile b/Jenkinsfile index 30764d4..14698e8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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}" @@ -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 } diff --git a/build.gradle b/build.gradle index cb52ad3..6ef6633 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'