Skip to content

Commit

Permalink
draft: job: Add Admin/linter
Browse files Browse the repository at this point in the history
  • Loading branch information
turboBasic committed Dec 28, 2023
1 parent a27da2e commit d403d97
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions jobs/Admin/linter/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
node {
stage('lint') {
try {
docker
.image('oxsecurity/megalinter:v7')
.inside("-u root -e VALIDATE_ALL_CODEBASE=true -v ${env.WORKSPACE}:/tmp/lint --entrypoint=''")
{
sh '/entrypoint.sh'
}
} finally {
archiveArtifacts artifacts: 'mega-linter.log,megalinter-reports/**/*',
allowEmptyArchive: true,
defaultExcludes: false,
followSymlinks: false
}
}
}
Empty file.

0 comments on commit d403d97

Please sign in to comment.