Skip to content

Commit

Permalink
[CI] Fix permissions should not fail (elastic#18899)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed Jun 2, 2020
1 parent 2c8f314 commit db99fe6
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 db99fe6

Please sign in to comment.