Skip to content

Instantly share code, notes, and snippets.

View stephenc's full-sized avatar
🍵
Enjoying a nice cup of tea

Stephen Connolly stephenc

🍵
Enjoying a nice cup of tea
View GitHub Profile
<?xml version='1.0' encoding='UTF-8'?>
<project>
<actions/>
<description></description>
<keepDependencies>false</keepDependencies>
<properties>
<com.cloudbees.jenkins.plugins.securecopy.ExportsJobProperty>
<exports/>
</com.cloudbees.jenkins.plugins.securecopy.ExportsJobProperty>
<hudson.model.ParametersDefinitionProperty>
@stephenc
stephenc / gist:4574201
Created January 19, 2013 18:36
diff build-maven-deploy.xml.orig build-maven-deploy.xml
44a45,47
> <!-- uploads done using webdav, need to register -->
> <artifact:install-provider artifactId="wagon-webdav" version="1.0-beta-1" />
>
47c50
< url="https://nexus.codehaus.org/service/local/staging/deploy/maven2/"
---
> url="dav:https://dav.codehaus.org/repository/jackson"
55c58
< url="https://nexus.codehaus.org/content/repositories/snapshots/"
@stephenc
stephenc / gist:3053561
Created July 5, 2012 13:05
Continuous Deployment with Jenkins and Puppet

Puppet with Jenkins

Setup Jenkins

With Puppet:

puppet module install rtyler-jenkins

puppet apply -v -e "include jenkins"

@stephenc
stephenc / euler.sh
Created June 6, 2012 11:26 — forked from anonymous/euler.sh
Solution for Euler numbers
#!/bin/bash
################################################################################
# Copyright (c) 2012, by Michael Neale. All rights reserved.
#
# THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF MICHAEL NEALE
#
# The copyright notice above does not evidence any
# actual or intended publication of such source code.
################################################################################
@stephenc
stephenc / gist:913704
Created April 11, 2011 15:30
Minimal ~/.m2/settings.xml
<settings>
<servers>
<server>
<id>apache.snapshots.https</id>
<username><!-- your apache ldap username --></username>
<password><!-- your apache ldap password --></password>
</server>
<server>
<id>apache.releases.https</id>
<username><!-- your apache ldap username --></username>