Last active
February 15, 2018 01:41
-
-
Save jayv/0efba3d51563bfab715b9066d1c092cf to your computer and use it in GitHub Desktop.
clear jenkins favorites for users of multi-branch
This file contains hidden or 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
def user = User.get("<your user id>") | |
user.getProperty(hudson.plugins.favorite.user.FavoriteUserProperty.class).data.clear() | |
user.save() | |
// Execute here: | |
http://lfbuild.corp.adobe.com:8080/script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment