Jenkinsfile > Use workspace tmp dir
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good

This commit is contained in:
Ludovic Poujol 2022-12-27 18:16:52 +01:00
parent be8c69b4b8
commit 1c66a1a5f3

View file

@ -14,7 +14,7 @@ pipeline {
} }
steps { steps {
script { script {
sh 'for role_dir in ./*/; do HOME=$WORKSPACE_TMP ansible-lint -p $role_dir >> lint.txt || : ; done' sh 'for role_dir in ./*/; do HOME=$WORKSPACE_TMP ansible-lint -p $role_dir >> $WORKSPACE_TMP/lint.txt || : ; done'
recordIssues(tools: [ansibleLint(pattern: 'lint.txt')]) recordIssues(tools: [ansibleLint(pattern: 'lint.txt')])
} }
} }