This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/components/developer/jenkins/files/jenkins-standalone.xml b/components/developer/jenkins/files/jenkins-standalone.xml | |
| index 1cda73652..1bcdb93b1 100644 | |
| --- a/components/developer/jenkins/files/jenkins-standalone.xml | |
| +++ b/components/developer/jenkins/files/jenkins-standalone.xml | |
| @@ -58,7 +58,7 @@ | |
| both for JAVA and the JAR itself... Or keep it simple? --> | |
| <exec_method type='method' | |
| name='start' | |
| - exec='/usr/bin/java -DsessionTimeout=1440 -jar %{jenkins_war_file} --httpPort=%{httpPort}' | |
| + exec='/usr/bin/java -DsessionTimeout=1440 -jar %{httpd/jenkins_war_file} --httpPort=%{httpd/httpPort}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| Vagrant.require_version('>= 2.0') | |
| unless Vagrant.has_plugin?('vagrant-vyos') | |
| system('vagrant plugin install vagrant-vyos') || exit! | |
| exit system('vagrant', *ARGV) | |
| end | |
| Vagrant.configure("2") do |config| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def send_log_to_datadog(data, dd_api_token, ingestion_endpoint=LOG_INGESTION_ENDPOINT): | |
| try: | |
| req = requests.request( | |
| "POST", | |
| "https://{url}/v1/input".format(url=ingestion_endpoint), | |
| headers={"Content-Type": "application/json", "DD-API-KEY": dd_api_token}, | |
| json=data, | |
| ) | |
| req.raise_for_status() | |
| except requests.exceptions.HTTPError as err: |
OlderNewer