Class TfsMaterial
- 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 {
tfs {
url = 'http://10.21.3.210:8080/tfs'
project = 'MyProject'
domain = 'MyDomain'
username = 'bob'
encryptedPassword = 'aSdiFgRRZ6A='
}
}
}
- See Also:
-
- tfs material config. for detailed description of tfs config.
-
Constructor Summary
ConstructorDescriptionTfsMaterial
(Closure<?> cl) TfsMaterial
(String name, Closure<?> cl) TfsMaterial
(String name, Consumer<TfsMaterial> configure) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Domain name for TFS authentication credentials.The project path within the TFS collection.getUrl()
The URL of the TFS serverint
hashCode()
void
Domain name for TFS authentication credentials.void
setProjectPath
(String projectPath) The project path within the TFS collection.void
The URL of the TFS servertoString()
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
-
TfsMaterial
public TfsMaterial() -
TfsMaterial
-
TfsMaterial
-
TfsMaterial
-
-
Method Details
-
dup
- Specified by:
dup
in classMaterial<TfsMaterial>
-
getUrl
The URL of the TFS server -
getDomain
Domain name for TFS authentication credentials. -
getProjectPath
The project path within the TFS collection. -
setUrl
The URL of the TFS server -
setDomain
Domain name for TFS authentication credentials. -
setProjectPath
The project path within the TFS collection. -
equals
- Overrides:
equals
in classScmMaterial<TfsMaterial>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classScmMaterial<TfsMaterial>
-
toString
- Overrides:
toString
in classScmMaterial<TfsMaterial>
-