From 7171a843bef664acd399304e9242794778b9d092 Mon Sep 17 00:00:00 2001 From: Jesse Houldsworth Date: Thu, 27 Mar 2025 17:00:36 -0700 Subject: [PATCH] jenmkinsfile --- Jenkinsfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index a21565a35..0eb8314a8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -54,14 +54,6 @@ pipeline { } } - stage('Xray Scan') { - steps { - // Use the new "jf build-scan" command - // "Fail Build" is decided by your Xray policy if severity >= High - sh "${JF} build-scan ${JFROG_CLI_BUILD_NAME} ${JFROG_CLI_BUILD_NUMBER} --fail=false" - } - } - stage('Publish Build Info') { steps { sh """ @@ -71,6 +63,14 @@ pipeline { """ } } + + stage('Xray Scan') { + steps { + // Use the new "jf build-scan" command + // "Fail Build" is decided by your Xray policy if severity >= High + sh "${JF} build-scan ${JFROG_CLI_BUILD_NAME} ${JFROG_CLI_BUILD_NUMBER} --fail=false" + } + } } post { always {