Skip to content

Commit

Permalink
Declarative Pipeline support #47
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasbjerre committed May 5, 2018
1 parent 804931b commit 9d29aa9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pom.xml
@@ -1,4 +1,5 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
Expand Down Expand Up @@ -209,6 +210,11 @@ Changelog of Generic Webhook Plugin.
<artifactId>gson</artifactId>
<version>2.8.2</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>structs</artifactId>
<version>1.1</version>
</dependency>

<!-- test // -->
<dependency>
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/org/jenkinsci/plugins/gwt/GenericTrigger.java
Expand Up @@ -27,6 +27,7 @@

import jenkins.model.ParameterizedJobMixIn;

import org.jenkinsci.Symbol;
import org.jenkinsci.plugins.gwt.resolvers.VariablesResolver;
import org.kohsuke.stapler.DataBoundConstructor;
import org.kohsuke.stapler.DataBoundSetter;
Expand All @@ -45,6 +46,7 @@ public class GenericTrigger extends Trigger<Job<?, ?>> {
private boolean printContributedVariables;
private String causeString;

@Symbol("GenericTrigger")
public static class GenericDescriptor extends TriggerDescriptor {

@Override
Expand Down

0 comments on commit 9d29aa9

Please sign in to comment.