Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-68436

Jenkinsfile CpsFlow Performance issue

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • pipeline
    • None

      Massive pipeline performance degradation of declarative pipeline since upgrading Jenkins container for Jenkins running inside a buster-slim based container.

      Stages takes x2 time to complete on average, see screenshot for the Jenkinsfile bellow

      What changed :

      • upgraded jenkins from 2.295 to 2.332.2
      • upgraded jdk default-jre-headless to openjdk-11-jre
         
        Unable to find source-code formatter for language: jenkinsfile. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
        pipeline {
          agent any  environment {
            HOME               = "/home/jenkins"
          }  stages {
            stage('STEP1') {
              steps {
                  sh '''
                  sleep 1
                  sleep 1
                  sleep 1
                  sleep 1
                  sleep 1
                  '''
                }
            }
            stage('STEP2') {
              steps {
                  sh '''
                  sleep 1
                  sleep 1
                  sleep 1
                  sleep 1
                  sleep 1
                  '''
                }
            }
            stage('STEP3') {
              steps {
                  sh '''
                  sleep 1
                  sleep 1
                  sleep 1
                  sleep 1
                  sleep 1
                  '''
                }
            }
          }
        }

         

       

            Unassigned Unassigned
            alexis_deruelle Alexis Deruelle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: