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

Changeset doesn't get filled on Gerrit change requests

      The changeset should include everything this patchset is trying to integrate into the target branch.

      If we use a pipeline like this:

       

      pipeline {
          agent any
          stages {
              stage("Test changeset") {
                   when { changeset 'Jenkinsfile' }
                   steps { sh "Changeset worked!'" }
              }
          }
       }
      

       
      It displays a message: 

      Warning, empty changelog. Probably because this is the first build.
      

          [JENKINS-60881] Changeset doesn't get filled on Gerrit change requests

          Felipe Santos created issue -
          Felipe Santos made changes -
          Description Original: If we use a pipeline like this:


          pipeline {
              agent any
             stages {
                 stage("Test changeset") {
                      when {
                          changeset 'Jenkinsfile'
                      }
                      steps {
                          sh "Changeset worked!'"
                      }
                  }
             }
          }

          It displays a message: 
          Warning, empty changelog. Probably because this is the first build.
          New: The changeset should include everything this patchset is trying to integrate into the target branch.

          If we use a pipeline like this:

          pipeline {
               agent any
              stages {
                  stage("Test changeset") {
                       when 

          {                 changeset 'Jenkinsfile'             }

                      steps 

          {                 sh "Changeset worked!'"             }

                  }
              }
           }

          It displays a message: 
           Warning, empty changelog. Probably because this is the first build.
          Lewis Russell made changes -
          Description Original: The changeset should include everything this patchset is trying to integrate into the target branch.

          If we use a pipeline like this:

          pipeline {
               agent any
              stages {
                  stage("Test changeset") {
                       when 

          {                 changeset 'Jenkinsfile'             }

                      steps 

          {                 sh "Changeset worked!'"             }

                  }
              }
           }

          It displays a message: 
           Warning, empty changelog. Probably because this is the first build.
          New: The changeset should include everything this patchset is trying to integrate into the target branch.

          If we use a pipeline like this:

           
          {code:java}
          pipeline {
              agent any
              stages {
                  stage("Test changeset") {
                       when { changeset 'Jenkinsfile' }
                       steps { sh "Changeset worked!'" }
                  }
              }
           }
          {code}
           
          It displays a message: 
           
          {code}
          Warning, empty changelog. Probably because this is the first build.
          {code}

            lucamilanesio Luca Domenico Milanesio
            felipecassiors Felipe Santos
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: