jadx/.gitlab-ci.yml

26 lines
650 B
YAML
Raw Normal View History

2017-05-26 08:31:56 +00:00
image: java:8
variables:
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
TERM: "dumb"
before_script:
- chmod +x gradlew
stages:
- build
build:
stage: build
2018-09-01 11:35:19 +00:00
before_script:
- export JADX_LAST_TAG="$(git describe --abbrev=0 --tags)"
- export JADX_VERSION="${JADX_LAST_TAG:1}-$(git rev-parse --short HEAD)"
2017-05-26 08:31:56 +00:00
script:
2017-05-27 09:05:27 +00:00
- ./gradlew -g /cache/.gradle clean build jacocoTestReport
- ./gradlew -g /cache/.gradle clean sonarqube -Dsonar.host.url=$SONAR_HOST -Dsonar.organization=$SONAR_ORG -Dsonar.login=$SONAR_TOKEN
- ./gradlew -g /cache/.gradle clean dist
2017-05-26 08:31:56 +00:00
artifacts:
paths:
- build/jadx*.zip
2018-03-27 15:55:33 +00:00
- build/jadx*.exe