Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Move snyk setup to new org wooga-frontend [ATLAS-977]
Browse files Browse the repository at this point in the history
  • Loading branch information
Larusso committed Oct 6, 2022
1 parent 7933b2a commit 86e8b1e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
#!groovy
@Library('github.com/wooga/[email protected]') _
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
}

0 comments on commit 86e8b1e

Please sign in to comment.