-
Notifications
You must be signed in to change notification settings - Fork 972
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: downgrade npm-groovy-lint to 15.0.0
Fix #6371 npm-groovy-lint > 15.0.0 is impacted by: - nvuillam/npm-groovy-lint#428 - nvuillam/npm-groovy-lint#422
- Loading branch information
1 parent
7b18a58
commit f64eb5e
Showing
3 changed files
with
19 additions
and
6 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import groovy.text.* | ||
import org.jenkinsci.plugins.pipeline.modeldefinition.Utils | ||
|
||
@Library('somelib') | ||
import com.mycorp.pipeline.somelib.Helper | ||
|
||
int useSomeLib(Helper helper) { | ||
helper.prepare() | ||
return helper.count() | ||
} | ||
|
||
echo useSomeLib(new Helper('some text')) |