From 86e8b1eef970c2402cb5e246fda47a2f7365e36c Mon Sep 17 00:00:00 2001 From: Manfred Endres Date: Thu, 6 Oct 2022 20:06:11 +0200 Subject: [PATCH] Move snyk setup to new org wooga-frontend [ATLAS-977] --- Jenkinsfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 }