Skip to content

Commit

Permalink
NEXUS-42789 - Remove quiet flag from buidls
Browse files Browse the repository at this point in the history
  • Loading branch information
mpiggott committed May 16, 2024
1 parent 41c19aa commit 9841c5f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ node('ubuntu-zion') {
stage('Build') {
gitHub.statusUpdate commitId, 'pending', 'build', 'Build is running'

def hash = OsTools.runSafe(this, "docker build --quiet --no-cache --tag ${imageName} .")
def hash = OsTools.runSafe(this, "docker build --no-cache --tag ${imageName} .")
imageId = hash.split(':')[1]

if (currentBuild.result == 'FAILURE') {
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile-Internal-Release
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ node('ubuntu-zion') {
def baseImageRefFactory = load 'scripts/BaseImageReference.groovy'
def baseImageReference = baseImageRefFactory.build(this, baseImage as String)
def baseImageReferenceStr = baseImageReference.getReference()
def hash = OsTools.runSafe(this, "docker build --quiet --label base-image-ref='${baseImageReferenceStr}' --no-cache --tag ${imageName} . -f ${dockerfilePath}")
def hash = OsTools.runSafe(this, "docker build --label base-image-ref='${baseImageReferenceStr}' --no-cache --tag ${imageName} . -f ${dockerfilePath}")
imageId = hash.split(':')[1]
}
if (params.scan_for_policy_violations) {
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile-Release
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ node('ubuntu-zion') {
def baseImageRefFactory = load 'scripts/BaseImageReference.groovy'
def baseImageReference = baseImageRefFactory.build(this, baseImage as String)
def baseImageReferenceStr = baseImageReference.getReference()
def hash = OsTools.runSafe(this, "docker build --quiet --label base-image-ref='${baseImageReferenceStr}' --no-cache --tag ${imageName} . -f ${dockerfilePath}")
def hash = OsTools.runSafe(this, "docker build --label base-image-ref='${baseImageReferenceStr}' --no-cache --tag ${imageName} . -f ${dockerfilePath}")
imageId = hash.split(':')[1]

if (currentBuild.result == 'FAILURE') {
Expand Down

0 comments on commit 9841c5f

Please sign in to comment.