Skip to content
Snippets Groups Projects
Commit 20a93fe2 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-3140 jenkinsfile new jenkins

parent 5b7a27b6
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ pipeline { ...@@ -6,7 +6,7 @@ pipeline {
} }
environment { environment {
BLUE_OCEAN_URL = "https://jenkins.ozg-sh.de/blue/organizations/jenkins/goofy/detail/${env.BRANCH_NAME}/${env.BUILD_NUMBER}/pipeline" BLUE_OCEAN_URL = "https://jenkins.ozg-sh.de/job/goofy/job/${env.BRANCH_NAME}/${env.BUILD_NUMBER}/"
RELEASE_REGEX = /\d+.\d+.\d+/ RELEASE_REGEX = /\d+.\d+.\d+/
SNAPSHOT_REGEX = /\d+.\d+.\d+-SNAPSHOT/ SNAPSHOT_REGEX = /\d+.\d+.\d+-SNAPSHOT/
FAILED_STAGE = "" FAILED_STAGE = ""
...@@ -116,11 +116,11 @@ pipeline { ...@@ -116,11 +116,11 @@ pipeline {
} }
} }
} }
post { post {
always{ always{
junit testResults: '**/target/surefire-reports/*.xml', skipPublishingChecks: true junit testResults: '**/target/surefire-reports/*.xml', skipPublishingChecks: true
} }
} }
} }
stage('Init k8s') { stage('Init k8s') {
steps { steps {
...@@ -658,7 +658,7 @@ String generateCypressConfig(String stage, String bezeichner, String testFolder, ...@@ -658,7 +658,7 @@ String generateCypressConfig(String stage, String bezeichner, String testFolder,
def namespace = "${bundesland}-${bezeichner}-dev" def namespace = "${bundesland}-${bezeichner}-dev"
def configName = "cypress-ci-"+testFolder+".json" def configName = "cypress-ci-"+testFolder+".json"
def url = ".dev.ozg-sh.de" def url = "dev.ozg-sh.de"
dir('goofy-client/apps/goofy-e2e/'){ dir('goofy-client/apps/goofy-e2e/'){
def config = readJSON file: 'cypress-ci.json' def config = readJSON file: 'cypress-ci.json'
...@@ -770,7 +770,7 @@ String getElasticsearchEnv(namespace) { ...@@ -770,7 +770,7 @@ String getElasticsearchEnv(namespace) {
"user":"${decodeString(elasticsearchSecret.username)}", \ "user":"${decodeString(elasticsearchSecret.username)}", \
"password":"${decodeString(elasticsearchSecret.password)}", \ "password":"${decodeString(elasticsearchSecret.password)}", \
"index":"${decodeString(elasticsearchSecret.index)}", \ "index":"${decodeString(elasticsearchSecret.index)}", \
"url":"http://localhost:9200"}""" "url":"https://localhost:9200"}"""
return readJSON ( text: env) return readJSON ( text: env)
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment