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

change jenkinsfile - test run agent any

parent 0c5718f2
No related branches found
No related tags found
No related merge requests found
def FAILED_STAGE def FAILED_STAGE
pipeline { pipeline {
agent { agent any
node { tools {
label 'goofy' maven 'maven3'
} jdk 'jdk11'
} nodejs 'Node10'
}
//{
// node {
// label 'goofy'
//}
//}
environment { environment {
BLUE_OCEAN_URL = "https://jenkins-dev-tools.apps.lab.okd.local/blue/organizations/jenkins/OZG%2Fgoofy/detail/${env.BRANCH_NAME}/${env.BUILD_NUMBER}/pipeline" //BLUE_OCEAN_URL = "https://jenkins-dev-tools.apps.lab.okd.local/blue/organizations/jenkins/OZG%2Fgoofy/detail/${env.BRANCH_NAME}/${env.BUILD_NUMBER}/pipeline"
BLUE_OCEAN_URL = "https://jenkins.ozg-sh.de/blue/organizations/jenkins/OZG%2Fgoofy/detail/${env.BRANCH_NAME}/${env.BUILD_NUMBER}/pipeline"
} }
options { options {
...@@ -20,7 +27,7 @@ pipeline { ...@@ -20,7 +27,7 @@ pipeline {
stages { stages {
stage('Client') { stage('Client') {
steps { steps {
container("nodejs"){ // container("nodejs"){
script { script {
FAILED_STAGE=env.STAGE_NAME FAILED_STAGE=env.STAGE_NAME
...@@ -44,7 +51,7 @@ pipeline { ...@@ -44,7 +51,7 @@ pipeline {
} }
} }
} }
} //}
} }
post { post {
always{ always{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment