Skip to content

Commit

Permalink
enhanced documentation for the Git plugin
Browse files Browse the repository at this point in the history
[FIXES JENKINS-33482]
  • Loading branch information
daspilker committed Mar 13, 2016
1 parent 5d92494 commit cb85427
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/Home.md
Expand Up @@ -21,6 +21,8 @@ Browse the Jenkins issue tracker to see any [open issues](https://issues.jenkins

## Release Notes
* 1.45 (unreleased)
* Enhanced documentation for the [Git Plugin](https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin)
([JENKINS-33482](https://issues.jenkins-ci.org/browse/JENKINS-33482))
* 1.44 (March 11 2016)
* Added support for the [Mattermost Plugin](https://wiki.jenkins-ci.org/display/JENKINS/Mattermost+Plugin)
([JENKINS-32764](https://issues.jenkins-ci.org/browse/JENKINS-32764))
Expand Down
Expand Up @@ -152,7 +152,7 @@ class ScmContext extends AbstractExtensibleContext {
}

/**
* Adds a Git SCM source.
* Adds a Git SCM source. The "Create a tag for every build" option will be enabled by default.
*
* The closure parameter expects a configure block for direct manipulation of the generated XML. The {@code scm}
* node is passed into the configure block.
Expand All @@ -163,7 +163,7 @@ class ScmContext extends AbstractExtensibleContext {
}

/**
* Adds a Git SCM source.
* Adds a Git SCM source. The "Create a tag for every build" option will be enabled by default.
*
* The closure parameter expects a configure block for direct manipulation of the generated XML. The {@code scm}
* node is passed into the configure block.
Expand Down

2 comments on commit cb85427

@skeenan947
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to disable this behavior??? I haven't found anything. Forcing a default with no way to override it doesn't seem right.

@geoffroyjabouley
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you have to use the full syntax, and not the oneliner
https://issues.jenkins-ci.org/browse/JENKINS-33482

Please sign in to comment.