From 062126fefbdd140a61bdebdb709f8884216b7ca2 Mon Sep 17 00:00:00 2001 From: Joseph C Date: Tue, 30 Aug 2022 18:33:23 -0700 Subject: [PATCH] Update to use the Community Nexus IQ Server This updates the build to use the Community Nexus IQ Server for policy evaluations --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6ce944f..7290839 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -26,12 +26,12 @@ dockerizedBuildPipeline( deployBranch: 'main', vulnerabilityScan: { withDockerImage(env.DOCKER_IMAGE_ID, { - withCredentials([usernamePassword(credentialsId: 'jenkins-iq', + withCredentials([usernamePassword(credentialsId: 'jenkins-community-iq', usernameVariable: 'IQ_USERNAME', passwordVariable: 'IQ_PASSWORD')]) { sh ''' poetry install --no-dev - poetry run jake iq --application jake --stage release --username $IQ_USERNAME --password $IQ_PASSWORD --server-url https://iq.sonatype.dev - #poetry run jake iq --application jake --stage release --username $IQ_USERNAME --password $IQ_PASSWORD --server-url https://iq.sonatype.dev || export jakeFailed=true + poetry run jake iq --application jake --stage release --username $IQ_USERNAME --password $IQ_PASSWORD --server-url https://sonatype-community-app.cloud.sonatype.com + #poetry run jake iq --application jake --stage release --username $IQ_USERNAME --password $IQ_PASSWORD --server-url https://sonatype-community-app.cloud.sonatype.com || export jakeFailed=true #cat ${HOME}/.ossindex/jake.combined.log ''' }