Jenkinsfile > Use workspace tmp dir
gitea/ansible-roles/pipeline/head This commit looks good Details

This commit is contained in:
Ludovic Poujol 2022-12-27 18:16:52 +01:00
parent be8c69b4b8
commit 1c66a1a5f3
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ pipeline {
}
steps {
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')])
}
}