diff --git a/Jenkinsfile b/Jenkinsfile index 94f1024..aaa847e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,13 +1,11 @@ #!groovy @Library('github.com/wooga/atlas-jenkins-pipeline@1.x') _ withCredentials([usernamePassword(credentialsId: 'github_integration', passwordVariable: 'githubPassword', usernameVariable: 'githubUser'), - string(credentialsId: 'snyk-wdk-token', variable: 'SNYK_TOKEN')]) { + string(credentialsId: 'snyk-wooga-frontend-integration-token', variable: 'SNYK_TOKEN')]) { def testEnvironment = [ "ATLAS_GITHUB_INTEGRATION_USER=${githubUser}", "ATLAS_GITHUB_INTEGRATION_PASSWORD=${githubPassword}" ] - withEnv(['SNYK_ORG_NAME=wooga-pipeline', 'SNYK_AUTO_DOWNLOAD=YES']) { - buildJavaLibraryOSSRH testEnvironment: testEnvironment - } + buildJavaLibraryOSSRH testEnvironment: testEnvironment }