sealed trait Server extends AnyRef
The configuration of the Develocity server that will receive build scans.
- Alphabetic
- By Inheritance
- Server
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
accessKey: Option[String]
The access key for authenticating with the Develocity server.
The access key for authenticating with the Develocity server.
Only the value of the explicitly configured access key is returned but not the value of an access key configured via the
DEVELOCITY_ACCESS_KEY
environment variable or access key file entry.An access key configured this way will take precedence over the
DEVELOCITY_ACCESS_KEY
environment variable or access key file entry associated with the server.DEVELOCITY_ACCESS_KEY or access key file entry.
An access key configured this way will take precedence over the
DEVELOCITY_ACCESS_KEY
environment variable or access key file entry associated with the server.- returns
the configured Develocity server access key, if available; otherwise,
None
-
abstract
def
allowUntrusted: Boolean
Specifies whether it is acceptable to communicate with a Develocity server using an untrusted SSL certificate.
Specifies whether it is acceptable to communicate with a Develocity server using an untrusted SSL certificate.
The default (public) build scan server uses SSL certificates that are trusted by default by standard modern Java environments. If you are using a different build scan server via Develocity, it may use an untrusted certificate. This may be due to the use of an internally provisioned or self-signed certificate.
In such a scenario, you can either configure the build JVM environment to trust the certificate, or call this method with
true
to disable verification of the server's identity. Alternatively, you may disable SSL completely for Develocity installation but this is not recommended.Allowing communication with untrusted servers keeps data encrypted during transmission, but makes it easy for a man-in-the-middle to impersonate the intended server and capture data.
This value has no effect if a server is specified using the HTTP protocol (i.e. has SSL disabled).
true Alternatively, you may disable SSL completely for Develocity installation but this is not recommended.
Allowing communication with untrusted servers keeps data encrypted during transmission, but makes it easy for a man-in-the-middle to impersonate the intended server and capture data.
This value has no effect if a server is specified using the HTTP protocol (i.e. has SSL disabled).
-
abstract
def
url: Option[URL]
The URL of the Develocity server.
-
abstract
def
withAccessKey(accessKey: String): Server
Create a copy of this configuration with an updated access key.
Create a copy of this configuration with an updated access key.
- accessKey
The new access key.
- returns
A copy of this configuration with an updated access key.
- Since
1.1.2
- See also
-
abstract
def
withAccessKey(accessKey: Option[String]): Server
Create a copy of this configuration with an updated access key.
Create a copy of this configuration with an updated access key.
- accessKey
The new access key.
- returns
A copy of this configuration with an updated access key.
- See also
-
abstract
def
withAllowUntrusted(allowUntrusted: Boolean): Server
Create a copy of this configuration with an updated behavior regarding untrusted SSL certificates.
Create a copy of this configuration with an updated behavior regarding untrusted SSL certificates.
- allowUntrusted
Whether to accept communications with a Develocity server using an untrusted SSL certificate.
- returns
A copy of this configuration with an updated behavior regarding untrusted SSL certificates.
- See also
-
abstract
def
withUrl(url: URL): Server
Create a copy of this configuration with an updated URL.
Create a copy of this configuration with an updated URL.
- url
The new URL to connect to.
- returns
A copy of this configuration with an updated URL.
- Since
1.1.2
- See also
-
abstract
def
withUrl(url: Option[URL]): Server
Create a copy of this configuration with an updated URL.
Create a copy of this configuration with an updated URL.
- url
The new URL to connect to.
- returns
A copy of this configuration with an updated URL.
- See also
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()