You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fix: When using the `checkout` step with `changelog: true` (the default), if
8
+
the SCM leaves the changelog file completely empty, delete it instead of
9
+
passing the empty changelog file to other APIs. ([JENKINS-59560](https://issues.jenkins-ci.org/browse/JENKINS-59560), [JENKINS-57918](https://issues.jenkins-ci.org/browse/JENKINS-57918))
10
+
11
+
### 2.9
12
+
13
+
Release date: 2019-06-07
14
+
15
+
- Fix: Use `rw-r--r--` (0644) permissions for changelog files on Posix
16
+
systems as in version 2.7 and earlier of this plugin rather
17
+
than `rw------- (0600)` as used in version 2.8 to avoid potential
18
+
issues related to backups and similar scenarios. ([PR
By default each build will show changes from the previous build in its changelog as usual, and you can see an overall changelog on the project index page.
44
50
You may specify `changelog: false` to disable changelog generation if it is not of interest, or too large to compute efficiently.
@@ -47,7 +53,7 @@ Jenkins will automatically remember the SCMs run in the _last build_ of the proj
47
53
This means that you can run multiple SCMs, even from a dynamic list, and get a reasonable changelog.
48
54
(At least for those checkouts that remain constant from build to build, as identified by a key defined by the SCM plugin, typically based on something like the repository location and branch.)
49
55
50
-
## Polling
56
+
###Polling
51
57
52
58
If you configure the _Poll SCM_ trigger in the Pipeline’s UI configuration screen, then by default Jenkins will also poll for changes according to the selected _Schedule_, and schedule new builds automatically if changes are detected.
53
59
(Note that this configuration is not part of the Pipeline script, because it affects activities that Jenkins runs outside of the Pipeline.)
@@ -61,15 +67,15 @@ Polling is supported across multiple SCMs (changes in one or more will trigger a
61
67
62
68
You may specify `poll: false` to disable polling for an SCM checkout.
63
69
64
-
# Built-in integrations
70
+
##Built-in integrations
65
71
66
72
Currently there are special integrations in the Git (`git` step) and Subversion (`svn` step) plugins.
67
73
See those plugins for details.
68
74
69
-
# Generic SCM step
75
+
##Generic SCM step
70
76
71
77
The `checkout` step may be used to run any other SCM plugin, provided that it has been brought up to date as described below.
72
-
(See the [compatibility list](https://github.com/jenkinsci/pipeline-plugin/blob/master/COMPATIBILITY.md) for the list of currently SCMs.)
78
+
(See the [compatibility list](https://github.com/jenkinsci/pipeline-plugin/blob/master/COMPATIBILITY.md) for the list of currently supported SCMs.)
73
79
It could also be used to run an SCM for which there is a special integration that lacks support for an exotic feature.
74
80
The step takes an `scm` parameter which is a map containing at least a `$class` parameter giving the full or simple class name of the desired `SCM` implementation, and the standard `poll` and `changelog` parameters.
75
81
@@ -101,6 +107,10 @@ This would correspond roughly to a freestyle project whose `config.xml` includes
101
107
102
108
with no `<hudson.triggers.SCMTrigger>` (polling).
103
109
104
-
# Supporting Pipeline from an SCM plugin
110
+
## Supporting Pipeline from an SCM plugin
111
+
112
+
See the [compatibility guide](https://jenkins.io/doc/developer/plugin-development/pipeline-integration/#scms).
113
+
114
+
## Version History
105
115
106
-
See the [compatibility guide](https://github.com/jenkinsci/pipeline-plugin/blob/master/DEVGUIDE.md#scms).
0 commit comments