Class SvnMaterial
- All Implemented Interfaces:
Configurable
,KeyVal.Mixin
,Notifies.MaterialMixin
,UtilsMixin
/*
* Copyright 2022 Thoughtworks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
pipeline('docs-website') {
materials {
svn {
url = 'https://svn.example.com/my-project/trunk'
username = 'bob'
// see https://api.gocd.org/current/#encrypt-a-plain-text-value
encryptedPassword = 'aSdiFgRRZ6A='
}
}
}
- See Also:
-
- svn material config. for detailed description of svn config.
-
Constructor Summary
ConstructorDescriptionSvnMaterial
(Closure<?> cl) SvnMaterial
(String name, Closure<?> cl) SvnMaterial
(String name, Consumer<SvnMaterial> configure) -
Method Summary
Methods inherited from class cd.go.contrib.plugins.configrepo.groovy.dsl.ScmMaterial
getAutoUpdate, getBlacklist, getDestination, getEncryptedPassword, getPassword, getUsername, getWhitelist, setAutoUpdate, setBlacklist, setDestination, setEncryptedPassword, setPassword, setUsername, setWhitelist
Methods inherited from interface cd.go.contrib.plugins.configrepo.groovy.dsl.mixins.Configurable
configure
Methods inherited from interface cd.go.contrib.plugins.configrepo.groovy.dsl.mixins.KeyVal.Mixin
lookup, lookup
Methods inherited from interface cd.go.contrib.plugins.configrepo.groovy.dsl.mixins.Notifies.MaterialMixin
notifiesBitbucketAt, notifiesBitbucketSelfHostedAt, notifiesBy, notifiesGitHubAt, notifiesGitLabAt
Methods inherited from interface cd.go.contrib.plugins.configrepo.groovy.dsl.mixins.UtilsMixin
sanitizeName
-
Constructor Details
-
SvnMaterial
public SvnMaterial() -
SvnMaterial
-
SvnMaterial
-
SvnMaterial
-
-
Method Details
-
dup
- Specified by:
dup
in classMaterial<SvnMaterial>
-
getUrl
-
getCheckExternals
-
setUrl
-
setCheckExternals
-
equals
- Overrides:
equals
in classScmMaterial<SvnMaterial>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classScmMaterial<SvnMaterial>
-
toString
- Overrides:
toString
in classScmMaterial<SvnMaterial>
-