Skip to content

Commit ff76b94

Browse files
Merge branch 'master' into ouf/QTDI-2893_pattern_instanceof
2 parents 7a98da0 + 639eb51 commit ff76b94

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

Jenkinsfile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,9 @@ final def dockerCredentials = usernamePassword(
4141
credentialsId: 'artifactory-datapwn-credentials',
4242
usernameVariable: 'DOCKER_USER',
4343
passwordVariable: 'DOCKER_PASS')
44-
final def sonarCredentials = usernamePassword(
45-
credentialsId: 'sonar-credentials',
46-
usernameVariable: 'SONAR_LOGIN',
47-
passwordVariable: 'SONAR_PASSWORD')
44+
final def sonarToken = string(
45+
credentialsId: 'sonar-credentials-token',
46+
variable: 'SONAR_TOKEN')
4847
final def keyImportCredentials = usernamePassword(
4948
credentialsId: 'component-runtime-import-key-credentials',
5049
usernameVariable: 'KEY_USER',
@@ -87,7 +86,7 @@ String deployOptions = "$skipOptions -Possrh -Prelease -Pgpg2 -Denforcer.skip=tr
8786
pipeline {
8887
libraries {
8988
lib("connectors-lib@1.2.0") // https://github.com/Talend/tdi-jenkins-shared-libraries
90-
lib("tqa-e2e-tests-tool@v2.4.2-ttp2") // https://github.com/Talend/tqa-e2e-testing-tool
89+
lib("tqa-e2e-tests-tool@2.6.7-ttp2") // https://github.com/Talend/tqa-e2e-testing-tool
9190
}
9291
agent {
9392
kubernetes {
@@ -638,7 +637,7 @@ pipeline {
638637
steps {
639638
script {
640639
withCredentials([nexusCredentials,
641-
sonarCredentials,
640+
sonarToken,
642641
gitCredentials]) {
643642

644643
SonarController.runSonar(branch_name,

0 commit comments

Comments
 (0)