Skip to content

Instantly share code, notes, and snippets.

# TRACE-Logging wildfly security subsystem
/subsystem=logging/logger=org.jboss.security:add(level=TRACE)
version: '3'
services:
bitbucket:
image: "atlassian/bitbucket-server:5.0"
container_name: bitbucket
restart: always
ports:
- "7990:7990"
- "7999:7999"
environment:
@nikhuber
nikhuber / sonar-project.properties
Last active January 24, 2020 09:57
Sample properties file to demo SonarQube with PHP and PHPUnit
# SonarQube server URL, e.g. http://localhost:9000
sonar.host.url=http://sonarqube:9000
# must be unique in a given SonarQube instance
sonar.projectKey=php-pm
# this is the name and version displayed in the SonarQube UI. Was mandatory prior to SonarQube 6.1.
sonar.projectName=PHP Process Manager
sonar.projectVersion=1.0
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
@nikhuber
nikhuber / .gitlab-ci.yml
Last active March 15, 2019 11:45
Gitlab CI pipeline definition for sonar scanner
before_script:
- export VERSION="${CI_PROJECT_NAMESPACE}_${CI_BUILD_ID}_$(date "+%Y-%m-%d-%H:%M:%S")"
- export PROJECTROOT=`pwd`
- export DOCKERPROJECTROOT='/srv/example/'
stages:
- test
- analysis
unittests: