Last active
August 29, 2015 14:01
-
-
Save vegetabill/9508ac10b933d582b9f8 to your computer and use it in GitHub Desktop.
you can use this js snippet on Go.CD the env variables page
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
$ = jQuery; | |
$('#variables').find('tr').each(function(idx, tr) { console.log("export " + $(tr).find('.environment_variable_name').val() + "=" + $(tr).find('.environment_variable_value').val()); }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment