Skip to content

Instantly share code, notes, and snippets.

View cccaternberg's full-sized avatar
🎯
Focusing

Andreas Caternberg cccaternberg

🎯
Focusing
View GitHub Profile
@cccaternberg
cccaternberg / Jenkinsfile
Created January 25, 2018 10:25
Jira_Jenkinsfile
node {
stage('Jira-Create-Task') {
withEnv(['JIRA_SITE=local']) {
def testIssue = [fields: [ project: [key: 'AUG2'],
summary: 'New JIRA Created from Jenkins.',
description: 'New JIRA Created from Jenkins.',
issuetype: [name: 'Task']]]
@cccaternberg
cccaternberg / Jenkinsfile
Created January 25, 2018 10:25
Jira_Jenkinsfile
node {
stage('Jira-Create-Task') {
withEnv(['JIRA_SITE=local']) {
def testIssue = [fields: [ project: [key: 'AUG2'],
summary: 'New JIRA Created from Jenkins.',
description: 'New JIRA Created from Jenkins.',
issuetype: [name: 'Task']]]
@cccaternberg
cccaternberg / Jenkinsfile
Created October 11, 2017 16:22 — forked from abayer/Jenkinsfile
An example Declarative Pipeline Jenkinsfile for Feb 15 2017 demo
// A Declarative Pipeline is defined within a 'pipeline' block.
pipeline {
// agent defines where the pipeline will run.
agent {
// This also could have been 'agent any' - that has the same meaning.
label ""
// Other possible built-in agent types are 'agent none', for not running the
// top-level on any agent (which results in you needing to specify agents on
// each stage and do explicit checkouts of scm in those stages), 'docker',
@cccaternberg
cccaternberg / Jenkinsfile1
Last active November 14, 2017 10:50
Jenkins Days
pipeline {
agent any
stages {
stage('Build') {
steps {
echo 'Hello from Build'
}
}
stage('Test') {
steps {