Skip to content

Commit

Permalink
Merge pull request #26 from abdulrahim458/FISH-8589-add-jenkins-config
Browse files Browse the repository at this point in the history
FISH-8589 FISH-8593 add jenkins and dependabot config
  • Loading branch information
abdulrahim458 authored Jul 4, 2024
2 parents e84e173 + 4a50c30 commit f865b65
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -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"
42 changes: 42 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -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 *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'
}
}
}
}
}

0 comments on commit f865b65

Please sign in to comment.