This project is still running an old Java version. Once you install Java, make sure you are setting it to your environment variables.
Example in macOS:
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home
export PATH=/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/bin:$PATH
- Running test and integration test:
./gradlew clean test
- Running Jenkins with the plugin pre-installed:
./gradlew server
See Jenkins Gradle JPI Plugin page for more details.
You will need to run JIRA locally to be able to execute the JIRA Integration Test of this plugin which is available from vagrant. More details can be found at atlassian site.
Quick start:
vagrant up
vagrant ssh
- Accept Oracle license term for Java
atlas-run-standalone --product jira --version 7.0.0 --plugins com.atlassian.jira.tests:jira-testkit-plugin:7.0.111
- Go to http://localhost:2990/jira in your browser and setup a JIRA project with name TEST (port is forwarded)
./gradlew jiraIntegrationTest
- Restart JIRA if it starts to complain about license (It is using timebomb license by default).
Result of the acceptance test will be available at $buildDir/reports/jiraIntegrationTest/index.html
.
-
Run
./gradlew clean build
-
git tag -m vx.x.x vx.x.x
-
./gradlew clean publish
Make sure your credentials are set correctly in ~/.jenkins-ci.org. Also check out the official documentation if there's problem.
-
git push --tags
-
Update CHANGELOG.md