Skip to content

Commit

Permalink
Merging dev into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Cloud User committed Nov 20, 2019
2 parents 7ae4b2e + f14d60c commit 3bba896
Show file tree
Hide file tree
Showing 61 changed files with 21,142 additions and 8,111 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
.asscache
Thumbs.db
.DS_Store
.gradle
build/
out/
.idea
*.iml
*.ipr
*.iws
.project
.settings
.classpath
prodDb.mv.db
16 changes: 6 additions & 10 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@ properties([
booleanParam(name: 'CLEAN_WORKSPACE', defaultValue: true, description: 'Clean the workspace at the end of the run')
]),
pipelineTriggers([
[$class: "GitHubPushTrigger"],
[
$class: 'jenkins.triggers.ReverseBuildTrigger',
upstreamProjects: "ossim-batch-test-multibranch/${BRANCH_NAME}", threshold: hudson.model.Result.SUCCESS
]
[$class: "GitHubPushTrigger"]
]),
[$class: 'GithubProjectProperty', displayName: '', projectUrlStr: 'https://github.com/ossimlabs/omar-oms'],
[$class: 'GithubProjectProperty', displayName: '', projectUrlStr: 'https://github.com/ossimlabs/omar-oms'],
buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '3', daysToKeepStr: '', numToKeepStr: '20')),
disableConcurrentBuilds()
])
Expand All @@ -36,7 +32,7 @@ node("${BUILD_NODE}"){

stage ("Assemble") {
sh """
gradle assemble \
./gradlew assemble \
-PossimMavenProxy=${OSSIM_MAVEN_PROXY}
"""
archiveArtifacts "plugins/*/build/libs/*.jar"
Expand All @@ -51,7 +47,7 @@ node("${BUILD_NODE}"){
passwordVariable: 'MAVEN_REPO_PASSWORD']])
{
sh """
gradle publish \
./gradlew publish \
-PossimMavenProxy=${OSSIM_MAVEN_PROXY}
"""
}
Expand All @@ -66,7 +62,7 @@ node("${BUILD_NODE}"){
{
// Run all tasks on the app. This includes pushing to OpenShift and S3.
sh """
gradle pushDockerImage \
./gradlew pushDockerImage \
-PossimMavenProxy=${OSSIM_MAVEN_PROXY}
"""
}
Expand All @@ -82,7 +78,7 @@ node("${BUILD_NODE}"){
{
// Run all tasks on the app. This includes pushing to OpenShift and S3.
sh """
gradle openshiftTagImage \
./gradlew openshiftTagImage \
-PossimMavenProxy=${OSSIM_MAVEN_PROXY}
"""
Expand Down
30 changes: 9 additions & 21 deletions apps/omar-oms-app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,25 +1,13 @@
// assets {
// minifyJs = true
// minifyCss = true
// includes = ["fonts/*"]
// excludes = ["**/*-debug.js", "**/*-deps.js", "**/*.gz", "**/*.txt", "**/*.less", "**/*.html", "**/i18n/**", "**/",
// ".grunt/**", "**/locale/**", "webjars/jquery/2.1.4/src/intro.js", "webjars/jquery/2.1.4/src/outro.js"]
// }

// sourceSets.main.output.classesDir = 'build/classes/groovy/main'
// io.ossim.gradleDefaults.Variables.setAdditionalVariables(project)
// io.ossim.gradleDefaults.Variables.setVersionVariables(project)
// dockerBuildDir="${rootProject.projectDir}/docker"
// version "${buildVersion}-${buildVersionTag}"
// jarDestination = "${projectDir}/build/libs/${project.name}-${version}.jar"
// io.ossim.gradleDefaults.Docker.addDockerTasks(project, dockerRegistryUrl, dockerRegistryUsername, dockerRegistryPassword, name, dockerImageTag, dockerBuildDir, jarDestination, ["BASE_IMAGE": "${dockerRegistryUrl}/${dockerBaseImage}:${dockerFromTag}"])
// io.ossim.gradleDefaults.Openshift.addOpenshiftTasks(project, openshiftUrl, openshiftUsername, openshiftPassword, openshiftProjectName, openshiftServiceName, dockerRegistryUrl, name, dockerImageTag)

grails {
plugins {
compile project(':omar-oms-plugin')
}
plugins {
compile project( ":${ rootProject.name }-plugin" )
if ( System.getenv('O2_INLINE_BUILD') ) {
// compile project(":omar-core-plugin")
}
}
}

dependencies {
if ( ! System.getenv('O2_INLINE_BUILD') ) {
// compile "io.ossim.omar.plugins:omar-core-plugin:+"
}
}
27 changes: 27 additions & 0 deletions apps/omar-oms-app/grails-app/assets/images/advancedgrails.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions apps/omar-oms-app/grails-app/assets/images/documentation.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/omar-oms-app/grails-app/assets/images/favicon.ico
Binary file not shown.
Loading

0 comments on commit 3bba896

Please sign in to comment.