Skip to content

Instantly share code, notes, and snippets.

View johninweb's full-sized avatar

John Fletcher johninweb

  • India
  • 11:19 (UTC -12:00)
View GitHub Profile
@johninweb
johninweb / 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()
@johninweb
johninweb / 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">