diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..647fea3 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,14 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + +version: 2 +updates: + # Configuration for Gradle + - package-ecosystem: "gradle" + directory: "/" # Location of package manifests + schedule: + interval: "daily" + open-pull-requests-limit: 5 + target-branch: "master" diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..0181a1b --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,42 @@ +pipeline { + + agent { + label 'general-purpose' + } + tools { + jdk "zulu-11" + } + environment { + JAVA_HOME = tool("zulu-11") + GRADLE_HOME = "/usr/lib/gradle/jenkinstools/gradle-8.0" + PATH = "${GRADLE_HOME}/bin:${env.PATH}" + MAVEN_OPTS = '-Xmx2G -Djavax.net.ssl.trustStore=${JAVA_HOME}/jre/lib/security/cacerts' + payaraBuildNumber = "${BUILD_NUMBER}" + } + stages { + stage('Checkout master') { + steps { + script { + checkout changelog: false, poll: true, scm: [$class: 'GitSCM', + branches: [[name: "master"]], + doGenerateSubmoduleConfigurations: false, + extensions: [], + submoduleCfg: [], + userRemoteConfigs: [[credentialsId: 'payara-devops-github-personal-access-token-as-username-password', url:"https://github.com/payara/ecosystem-intellij-community-plugin.git"]]] + } + } + } + stage('Build') { + steps { + script { + echo '*#*#*#*#*#*#*#*#*#*#*#*# Building SRC *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#' + sh ''' + gradle clean build -x check + ''' + echo '*#*#*#*#*#*#*#*#*#*#*#*# Built SRC *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#' + } + } + } + } +} +