Skip to content

Commit

Permalink
Cherry-pick #18899 to 7.8: [CI] Fix permissions should not fail (#18805)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Jun 4, 2020
1 parent e984e2f commit fda17cb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,10 @@ def delete() {
}

def fixPermissions(location) {
sh(label: 'Fix permissions', script: "script/fix_permissions.sh ${location}")
sh(label: 'Fix permissions', script: """#!/usr/bin/env bash
source ./dev-tools/common.bash
docker_setup
script/fix_permissions.sh ${location}""", returnStatus: true)
}

def makeTarget(String context, String target, boolean clean = true) {
Expand Down

0 comments on commit fda17cb

Please sign in to comment.