Skip to content

Instantly share code, notes, and snippets.

View john-fletcher's full-sized avatar

fletcher john-fletcher

View GitHub Profile
@john-fletcher
john-fletcher / README.md
Created March 14, 2020 18:51 — forked from dnozay/_Jenkins+Script+Console.md
jenkins groovy scripts collection.
import jenkins.model.*
import com.cloudbees.plugins.credentials.*
import com.cloudbees.plugins.credentials.common.*
import com.cloudbees.plugins.credentials.domains.*
import com.cloudbees.plugins.credentials.impl.*
import com.cloudbees.jenkins.plugins.sshcredentials.impl.*
import hudson.plugins.sshslaves.*;
domain = Domain.global()
store = Jenkins.instance.getExtensionList('com.cloudbees.plugins.credentials.SystemCredentialsProvider')[0].getStore()
@john-fletcher
john-fletcher / jenkins.jelly
Created March 24, 2016 17:27 — forked from rahulsom/jenkins.jelly
Jelly Template for Jenkins.
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- If you delete this tag, the sky will fall on your head -->
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>ZURBemails</title>
<style data-inline="true">