Skip to content

Instantly share code, notes, and snippets.

@rterp
Created June 7, 2014 00:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rterp/ca508e3846593acbe943 to your computer and use it in GitHub Desktop.
Save rterp/ca508e3846593acbe943 to your computer and use it in GitHub Desktop.
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.lynden.jenkins;
import hudson.Extension;
import hudson.model.AbstractProject;
import hudson.model.ItemGroup;
import hudson.model.TopLevelItem;
/**
*
* @author robt
*/
@Extension
public class DeploymentJob extends AbstractProject.AbstractProjectDescriptor {
public DeploymentJob() {
System.out.println("Creating deployment job");
}
@Override
public String getDisplayName() {
return "foo";
}
@Override
public TopLevelItem newInstance(ItemGroup ig, String string) {
return null;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment