Skip to content

Commit

Permalink
Use groovylint to lint and cleanup Jenkinsfile
Browse files Browse the repository at this point in the history
Summary: Fixes a vast majority of lint issues and warnings.

Test Plan: Jenkins build scripts should continue to work.

Reviewers: zasgar, jamesbartlett

Reviewed By: zasgar

Signed-off-by: Vihang Mehta <[email protected]>

Differential Revision: https://phab.corp.pixielabs.ai/D12694

GitOrigin-RevId: 77fd0104effd07df3101800e7d9f7807db15bcbd
  • Loading branch information
vihangm authored and copybaranaut committed Jan 5, 2023
1 parent 38ba680 commit 1f147f6
Show file tree
Hide file tree
Showing 2 changed files with 100 additions and 107 deletions.
20 changes: 20 additions & 0 deletions .groovylintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"extends": "recommended-jenkinsfile",
"rules": {
"DuplicateNumberLiteral": {
"enabled": false
},
"DuplicateStringLiteral": {
"enabled": false
},
"LineLength": {
"enabled": false
},
"PrintStackTrace": {
"enabled": false
},
"formatting.Indentation": {
"spacesPerIndentLevel": 2
}
}
}
Loading

0 comments on commit 1f147f6

Please sign in to comment.