Skip to content

Commit

Permalink
Временно убрал чтение версии из bddRunner для проверки отработки Sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
artbear committed Jan 28, 2018
1 parent 260a934 commit 1c5f58e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ firsttasks["qa"] = {
sonarcommand = sonarcommand + " -Dsonar.host.url=http://sonar.silverbulleters.org -Dsonar.login=${env.SonarOAuth}"
}

// Get version
def configurationText = readFile encoding: 'UTF-8', file: 'epf/bddRunner/BddRunner/Ext/ObjectModule.bsl'
def configurationVersion = (configurationText =~ /Версия = "(.*)";/)[0][1]
sonarcommand = sonarcommand + " -Dsonar.projectVersion=${configurationVersion}"
// TODO // Get version
// def configurationText = readFile encoding: 'UTF-8', file: 'epf/bddRunner/BddRunner/Ext/ObjectModule.bsl'
// def configurationVersion = (configurationText =~ /Версия = "(.*)";/)[0][1]
// sonarcommand = sonarcommand + " -Dsonar.projectVersion=${configurationVersion}"

def makeAnalyzis = true
if (env.BRANCH_NAME == "develop") {
Expand Down

0 comments on commit 1c5f58e

Please sign in to comment.