-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix gradle publkishPlugin task. Add Travis CI pipeline autodeployment…
… on tag creation.
- Loading branch information
Showing
3 changed files
with
25 additions
and
19 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,30 @@ | ||
env: | ||
- TERM=dumb | ||
|
||
matrix: | ||
- TERM=dumb | ||
global: | ||
- secure: o7bQffEMsStS0X7oWJ/i7QWeHoZTqQASLYx0PsfROyTCwVaNnSjuj5jsEIpO2wSppOSVD+tu6LOiCG06XvwWFA79hZh0DzPPq1nbVof4PhScNljYegCG7X6Nihrn38HOj9oxIZ6CJEZPaeyg1OzAPGs0Kir/MDiCcV3W9NDMwHo= | ||
- secure: VHuocNAOIkVh/TcDnTkXQSNBQtstJsCnfsiry4ROk4NCU3TkwkS1VLakhsErwEI1Ri5rl8jSOsYtOUBDfRiJq6nHEg7ilVERz9BVDhTmri6QlQv46OunBDWUrsqJjB1Q6AsEPBl0L1dqTe2RrP3AvmCXglfeFZKoEbWlmDpGSWE= | ||
language: groovy | ||
jdk: oraclejdk8 | ||
|
||
before_cache: | ||
- bash -c 'for lockFile in $(find ~/.gradle -name "*.lock"); do sudo rm -rf $lockFile ; done' | ||
|
||
- bash -c 'for lockFile in $(find ~/.gradle -name "*.lock"); do sudo rm -rf $lockFile | ||
; done' | ||
cache: | ||
directories: | ||
- $HOME/.m2 | ||
- $HOME/.gradle | ||
- $HOME/.docker | ||
|
||
- "$HOME/.m2" | ||
- "$HOME/.gradle" | ||
- "$HOME/.docker" | ||
addons: | ||
apt: | ||
update: true | ||
packages: | ||
- bash | ||
|
||
install: true | ||
script: bash gradlew clean build | ||
|
||
after_success: bash gradlew jacocoTestReport coveralls | ||
after_failure: bash gradlew clean check --debug | ||
after_success: | ||
- bash gradlew jacocoTestReport coveralls | ||
# publishing plugin | ||
- test -n "$TRAVIS_TAG" && echo "gradle.publish.key=${GRADLE_PUBLISH_KEY}" >> ~/.gradle/gradle.properties | ||
- test -n "$TRAVIS_TAG" && echo "gradle.publish.secret=${GRADLE_PUBLISH_SECRET}" >> ~/.gradle/gradle.properties | ||
- test -n "$TRAVIS_TAG" && ./gradlew publishPlugin -i |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,23 @@ | ||
group = 'io.byteshifter' | ||
version = "${soapUIVersion}.PRO-SNAPSHOT" | ||
description = project.pluginDescription | ||
group = 'io.byteshifter' | ||
|
||
pluginBundle { | ||
website = "$project.projectUrl" | ||
website = project.projectUrl | ||
vcsUrl = "${project.projectUrl}.git" | ||
description = project.description | ||
description = project.pluginDescription | ||
tags = [ | ||
'soapui', | ||
'testing', | ||
'soap', | ||
'rest', | ||
'testrunner', | ||
] | ||
|
||
plugins { | ||
soapuiPlugin { | ||
id = "${group}.soapui" | ||
description = displayName = project.description | ||
description = project.pluginDescription | ||
displayName = project.pluginDescription | ||
} | ||
} | ||
} |