Skip to content

Commit

Permalink
Revert "NEXUS-42789 - Remove quiet flag from buidls (#187)" (#193)
Browse files Browse the repository at this point in the history
This reverts commit be5ce4c.
  • Loading branch information
mpiggott authored May 24, 2024
1 parent e708957 commit 03aea79
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 --no-cache --tag ${imageName} .")
def hash = OsTools.runSafe(this, "docker build --quiet --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 --label base-image-ref='${baseImageReferenceStr}' --no-cache --tag ${imageName} . -f ${dockerfilePath}")
def hash = OsTools.runSafe(this, "docker build --quiet --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 --label base-image-ref='${baseImageReferenceStr}' --no-cache --tag ${imageName} . -f ${dockerfilePath}")
def hash = OsTools.runSafe(this, "docker build --quiet --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 03aea79

Please sign in to comment.