Useful groovy scripts that can be used while using Jenkins-CI for workflow automation
Groovy
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
AC_AssociatedFiles.groovy
AC_FromArtifactProperty.groovy
AC_GetCollectionPropertyKey.groovy
AC_React_ArtifactCollector.groovy
AC_React_ArtifactPathCollector.groovy
AC_React_FilePathCollector.groovy
AC_RefHelper_findBuildsOnRunParam.groovy
AC_RefHelper_getParamValue.groovy
AC_RefHelper_getSelectArtifactUrl.groovy
AC_ValueSet_fromArtifactColumns.groovy
AC_ValueSet_fromFileColumns.groovy
AC_WhenArtifactPropertyStarts.groovy
AC_getAllJobsFromFolders.groovy
AC_getJobContainingValue.groovy
AC_getJobParams.groovy
AC_listDirImages.groovy
Jenkins_ReportJobUsage.groovy
README.md
UC_helper_GetBuildsByNumAsMap.groovy
UC_helper_detectFileType.groovy
UC_helper_getStaticPropertyKey.groovy
copyJobConfig.groovy
getBuildByNumber_scriptlet.groovy
returnValuesPerUserRole.groovy
syncScriptlerConfiguration.groovy
writeXMLproperties_scriptlet.groovy

README.md

Jenkins-scriptlets

Useful groovy scripts that can be used while using Jenkins-CI for workflow automation. Many of them support the generation of dynamic build parameters for Active Choices Jenkins form controls

Scriptlets Supporting Active Choices

See the this wiki page. In general, any scriptlet in this repository with a name that starts with AC (active choice) or UC (uno-choice) is designed for configuration in an Active Choice build parameter to create a list of values that users can dynamically select parameter options from.

AC-Scriptlet Metadata and Parameters

Most scriptlets in this repository require input parameters to function properly. A description for each scriptlet and the required parameters are included in a specially formatted metadata header. If the scriptlet is missing wiki documentation review these metadata for a better understanding of the what the code does and requires as input.

Other Scriptlets

For a collection of other useful Scriptlets, please, see this wiki page.

Links to External Scriplet Catalogs

Scriptler scripts for managing/interacting with Jenkins.