Skip to content

Commit 5452e71

Browse files
committed
cleanup
1 parent 8857b4d commit 5452e71

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

docs/Home.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ Browse the Jenkins issue tracker to see any [open issues](https://issues.jenkins
3939
([#1043](https://github.com/jenkinsci/job-dsl-plugin/pull/1043))
4040
* Enhanced support for the [Build Pipeline Plugin](https://wiki.jenkins-ci.org/display/JENKINS/Build+Pipeline+Plugin)
4141
([JENKINS-46332](https://issues.jenkins-ci.org/browse/JENKINS-46332))
42+
* Enhanced support for the [Git Plugin](https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin)
43+
([#1074](https://github.com/jenkinsci/job-dsl-plugin/pull/1074))
4244
* Allow passing custom parameters from Pipeline script
4345
([JENKINS-44128](https://issues.jenkins-ci.org/browse/JENKINS-44128))
4446
* Fixed problem with redundant paths

job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/helpers/publisher/GitPublisherContext.groovy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ class GitPublisherContext extends AbstractContext {
6363

6464
/**
6565
* Adds a note to push to a remote repository. Can be called multiple times to push more notes.
66+
*
67+
* @since 1.66
6668
*/
6769
void note(String targetRepo, String message, @DslContext(NoteToPushContext) Closure closure = null) {
6870
checkNotNullOrEmpty(targetRepo, 'targetRepo must be specified')

job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/helpers/publisher/NoteToPushContext.groovy

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,9 @@ package javaposse.jobdsl.dsl.helpers.publisher
33
import javaposse.jobdsl.dsl.Context
44

55
class NoteToPushContext implements Context {
6-
String message
76
String namespace
87
boolean replace
98

10-
/**
11-
* Sets the content of the note.
12-
*/
13-
void message(String message) {
14-
this.message = message
15-
}
16-
179
/**
1810
* If set, sets the namespace of the note.
1911
*/

0 commit comments

Comments
 (0)