All Downloads are FREE. Search and download functionalities are using the official Maven repository.

archetype-resources.cx-server.server.cfg Maven / Gradle / Ivy

Go to download

Archetype for a Tomcat-based project on SAP Cloud Platform (Cloud Foundry).

There is a newer version: 2.28.0
Show newest version
#!/bin/bash

# This file configures the SAP Cloud SDK CI/CD Server (cx-server).
# Changes become effective after removing and then restarting the server.
# More information on getting started with Continuous Delivery can be found in the following locations:
#   - GitHub repository: https://github.com/SAP/cloud-s4-sdk-pipeline
#   - Operations Guide: https://github.com/SAP/cloud-s4-sdk-pipeline/blob/master/doc/operations/operations-guide.md


#---------------------------------------------#
#-- General configuration --------------------#
#---------------------------------------------#

#>> Specify effective value of 'http_proxy' / 'https_proxy' environment variables.
#>> The specified proxy will also be used for the Jenkins and Nexus (Download Cache) processes.
#>> Jenkins only supports one proxy server. In this case, https_proxy will have precedence over http_proxy.
# http_proxy="http://username:password@proxy:8080"
# https_proxy="http://username:password@proxy:8080"

#>> Specify effective value of 'no_proxy' environment variable (overwrites value in base image)
# no_proxy="localhost,.corp"

#>> Specify additional no values of 'no_proxy' environment variable (appended to value in base image)
# x_no_proxy="localhost,.corp"

#---------------------------------------------#
#-- Build server configuration ---------------#
#---------------------------------------------#

#>> Address of the used docker registry. Override if you do not want to use Docker's default registry.
# docker_registry="your-custom-registry.corp"

#>> Name of the used docker image
# docker_image="s4sdk/jenkins-master:latest"

#>> Enable TLS encryption
# tls_enabled=true

#>> Port on which jenkins will be reachable via http.
#>> This port will be only opened when TLS is not active.
# http_port="80"

#>> Port on which jenkins will be reachable via https when TLS is activated.
# https_port="443"

#>> Name of the docker volume holding the jenkins_home folder.
# jenkins_home="jenkins_home_volume"

#>> Name of the backup file in backup directory.
# backup_file_name="jenkins_home_$(date -u +%Y-%m-%dT%H%M%Z).tar.gz"

#>> Additional JAVA_OPTS for the jenkins container. The value will be appended to the standard value.
# x_java_opts="-Xmx1024m"


#---------------------------------------------#
#-- Download cache configuration -------------#
#---------------------------------------------#

#>> Toggle for turning the download cache on and off.
# cache_enabled=false

#>> Maven repository that will be cached via the download cache (default is maven central)
# mvn_repository_url="https://your-local-maven-repo.corp/maven2/"

#>> npm repository that will be cached via the download cache (default is central npm registy)
# npm_registry_url="https://your-local-npm-registry.corp/"

#>> Additional JAVA_OPTS for the download cache server. The value will be appended to the standard value.
# x_nexus_java_opts="-Xmx1024m"




© 2015 - 2024 Weber Informatics LLC | Privacy Policy