2 * Extracts all registered credentials and passwords
4 * Jenkins credentials are encrypted and passwords cannot be retrived easily.
5 * Run this script to get all credentials pairs in an "Id : Password" format.
6 * Note: This script will not display information for SSH and Certificate
11 import com.cloudbees.plugins.credentials.*
13 println "Printing all the credentials and passwords..."
14 def creds = com.cloudbees.plugins.credentials.CredentialsProvider.lookupCredentials(
15 com.cloudbees.plugins.credentials.common.StandardUsernameCredentials.class,
23 println(c.id + " : " + c.password )
24 } catch (MissingPropertyException) {}