From 9b8b35536428d6426641fc29b710d5097be46806 Mon Sep 17 00:00:00 2001 From: Tomas Bjerre Date: Sun, 4 Apr 2021 17:33:12 +0200 Subject: [PATCH] new build script --- .travis.yml | 2 +- build.sh | 9 --------- release.sh | 5 ----- 3 files changed, 1 insertion(+), 15 deletions(-) delete mode 100755 build.sh delete mode 100755 release.sh diff --git a/.travis.yml b/.travis.yml index 3a9861a..9f51dd3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ language: java jdk: - openjdk8 script: - - ./build.sh + - ./gradlew build -i -s after_script: - find -name TEST* -exec cat {} \; notifications: diff --git a/build.sh b/build.sh deleted file mode 100755 index f48a4fa..0000000 --- a/build.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -./gradlew clean cE eclipse build install gitChangelogTask || exit 1 -cd violation-comments-to-gitlab-gradle-plugin-example - -# -# Get project id: curl -XGET "https://gitlab.com/api/v4/projects/tomas.bjerre85%2Fviolations-test" -# MR: https://gitlab.com/api/v4/projects/2732496/merge_requests -# -./gradlew violationCommentsToGitLab -DGITLAB_URL=https://gitlab.com/ -DGITLAB_MERGEREQUESTIID=1 -DGITLAB_PROJECTID=tomas.bjerre85/violations-test -DGITLAB_APITOKEN=$GITLAB_APITOKEN -i --stacktrace diff --git a/release.sh b/release.sh deleted file mode 100755 index e0c13d3..0000000 --- a/release.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -./gradlew release || exit 1 -./build.sh -git commit -a --amend --no-edit -git push -f