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

Not able to build changes in multipipeline branch

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • Jenkins version: 2.219
      Gerrit Code Review Plugin: 0.41
      Gerrit Version: 3.1.2
      Gerrit Trigger Version: 2.30.3
      Gerrit Check Plugin: 6fa8c9683d
      Gerrit Webhook: 3.1.2

      Jenkins won't build the changeset even it can successfully detect it.

      The configuration in Jenkins is as below:

      ---Within Repository---

      Discover open changes

      ---Additional---

      Specify ref specs

      > +refs/heads/*:refs/remotes/@{remote}/*

      > +refs/changes/*:refs/remotes/@{remote}/*
      I am not sure what breaks the changes

       

      The multipipeline branch log is as below:

      > git rev-parse --is-inside-work-tree # timeout=10
      Setting origin to https://example.com/myrepo
      > git config remote.origin.url https://example.com/myrepo # timeout=10
      Fetching origin...
      Fetching upstream changes from origin
      > git --version # timeout=10
      > git config --get remote.origin.url # timeout=10
      using GIT_SSH to set credentials gerrit robot
      > git fetch --tags --progress origin +refs/heads/:refs/remotes/origin/ refs/changes/22/122/2:refs/remotes/origin/22/122/2 # timeout=10
      > git rev-parse --is-inside-work-tree # timeout=10
      Setting origin to https://example.com/myrepo
      > git config remote.origin.url https://example.com/myrepo # timeout=10
      Fetching & pruning origin...
      Fetching upstream changes from origin
      > git --version # timeout=10
      > git config --get remote.origin.url # timeout=10
      using GIT_SSH to set credentials gerrit robot
      > git fetch --tags --progress --prune origin +refs/heads/:refs/remotes/origin/ refs/changes/22/122/2:refs/remotes/origin/22/122/2 # timeout=10
      Seen branch in repository origin/master
      Seen 1 remote branch
      Checking 1 branches ...
      Filtered 1 branches ...
      Checking branch master
      ‘Jenkinsfile’ found
      master meets the criteria
      > git rev-parse --is-inside-work-tree # timeout=10
      Setting origin to https://example.com/myrepo
      > git config remote.origin.url https://example.com/myrepo # timeout=10
      Fetching origin...
      Fetching upstream changes from origin
      > git --version # timeout=10
      > git config --get remote.origin.url # timeout=10
      using GIT_SSH to set credentials gerrit robot
      > git fetch --tags --progress origin +refs/heads/master:refs/remotes/origin/master # timeout=10
      No changes detected: master (still at 20e02616cfc6e43867d17b322ee09509ea56002f)
      Processed 0 branches
      Processed 0 changes
      [Wed Feb 05 09:51:51 MYT 2020] Finished branch indexing. Indexing took 0.88 sec
      Finished: SUCCESS

          [JENKINS-60965] Not able to build changes in multipipeline branch

          honghan wong created issue -
          honghan wong made changes -
          Description Original: Jenkins won't build the changeset even it can successfully detect it.

          The configuration in Jenkins is as below:

          ---Within Repository---

          {{Discover open changes}}

          ---Additional---

          Specify ref specs

          {{> +refs/heads/*:refs/remotes/@\{remote}/*}}

          {{> +refs/changes/*:refs/remotes/@\{remote}/*}}

           

          {{I am not sure what breaks the changes }}

          {{The multipipeline branch log is as below:}}

          {{> git rev-parse --is-inside-work-tree # timeout=10}}
          {{Setting origin to https://example.com/myrepo}}
          {{ > git config remote.origin.url https://example.com/myrepo # timeout=10}}
          {{Fetching origin...}}
          {{Fetching upstream changes from origin}}
          {{ > git --version # timeout=10}}
          {{ > git config --get remote.origin.url # timeout=10}}
          {{using GIT_SSH to set credentials gerrit robot}}
          {{ > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* refs/changes/22/122/2:refs/remotes/origin/22/122/2 # timeout=10}}
          {{ > git rev-parse --is-inside-work-tree # timeout=10}}
          {{Setting origin to https://example.com/myrepo}}
          {{ > git config remote.origin.url https://example.com/myrepo # timeout=10}}
          {{Fetching & pruning origin...}}
          {{Fetching upstream changes from origin}}
          {{ > git --version # timeout=10}}
          {{ > git config --get remote.origin.url # timeout=10}}
          {{using GIT_SSH to set credentials gerrit robot}}
          {{ > git fetch --tags --progress --prune origin +refs/heads/*:refs/remotes/origin/* refs/changes/22/122/2:refs/remotes/origin/22/122/2 # timeout=10}}
          {{Seen branch in repository origin/master}}
          {{Seen 1 remote branch}}
          {{Checking 1 branches ...}}
          {{Filtered 1 branches ...}}
          {{ Checking branch master}}
          {{ ‘Jenkinsfile’ found}}
          {{master meets the criteria}}
          {{ > git rev-parse --is-inside-work-tree # timeout=10}}
          {{Setting origin to https://example.com/myrepo}}
          {{ > git config remote.origin.url https://example.com/myrepo # timeout=10}}
          {{Fetching origin...}}
          {{Fetching upstream changes from origin}}
          {{ > git --version # timeout=10}}
          {{ > git config --get remote.origin.url # timeout=10}}
          {{using GIT_SSH to set credentials gerrit robot}}
          {{ > git fetch --tags --progress origin +refs/heads/master:refs/remotes/origin/master # timeout=10}}
          {{No changes detected: master (still at 20e02616cfc6e43867d17b322ee09509ea56002f)}}
          {{Processed 0 branches}}
          {{Processed 0 changes}}
          {{[Wed Feb 05 09:51:51 MYT 2020] Finished branch indexing. Indexing took 0.88 sec}}
          {{Finished: SUCCESS}}
          New: Jenkins won't build the changeset even it can successfully detect it.

          The configuration in Jenkins is as below:

          --Within Repository--

          {{Discover open changes}}

          --Additional--

          Specify ref specs

          {{> +refs/heads/*:refs/remotes/@\{remote}/*}}

          {{> +refs/changes/*:refs/remotes/@\{remote}/*}}

           

          {\{I am not sure what breaks the changes }}

          {{The multipipeline branch log is as below:}}

          > git rev-parse --is-inside-work-tree # timeout=10
           Setting origin to [https://example.com/myrepo]
           {{ > git config remote.origin.url [https://example.com/myrepo] # timeout=10}}
           Fetching origin...
           Fetching upstream changes from origin
           \{{ > git --version # timeout=10}}
           \{{ > git config --get remote.origin.url # timeout=10}}
           using GIT_SSH to set credentials gerrit robot
           \{{ > git fetch --tags --progress origin +refs/heads/:refs/remotes/origin/ refs/changes/22/122/2:refs/remotes/origin/22/122/2 # timeout=10}}
           \{{ > git rev-parse --is-inside-work-tree # timeout=10}}
           Setting origin to [https://example.com/myrepo]
           {{ > git config remote.origin.url [https://example.com/myrepo] # timeout=10}}
           Fetching & pruning origin...
           Fetching upstream changes from origin
           \{{ > git --version # timeout=10}}
           \{{ > git config --get remote.origin.url # timeout=10}}
           using GIT_SSH to set credentials gerrit robot
           \{{ > git fetch --tags --progress --prune origin +refs/heads/:refs/remotes/origin/ refs/changes/22/122/2:refs/remotes/origin/22/122/2 # timeout=10}}
           Seen branch in repository origin/master
           Seen 1 remote branch
           Checking 1 branches ...
           Filtered 1 branches ...
           \{{ Checking branch master}}
           \{{ ‘Jenkinsfile’ found}}
           master meets the criteria
           \{{ > git rev-parse --is-inside-work-tree # timeout=10}}
           Setting origin to [https://example.com/myrepo]
           {{ > git config remote.origin.url [https://example.com/myrepo] # timeout=10}}
           Fetching origin...
           Fetching upstream changes from origin
           \{{ > git --version # timeout=10}}
           \{{ > git config --get remote.origin.url # timeout=10}}
           using GIT_SSH to set credentials gerrit robot
           \{{ > git fetch --tags --progress origin +refs/heads/master:refs/remotes/origin/master # timeout=10}}
           No changes detected: master (still at 20e02616cfc6e43867d17b322ee09509ea56002f)
           Processed 0 branches
           Processed 0 changes
           [Wed Feb 05 09:51:51 MYT 2020] Finished branch indexing. Indexing took 0.88 sec
           Finished: SUCCESS
          honghan wong made changes -
          Description Original: Jenkins won't build the changeset even it can successfully detect it.

          The configuration in Jenkins is as below:

          --Within Repository--

          {{Discover open changes}}

          --Additional--

          Specify ref specs

          {{> +refs/heads/*:refs/remotes/@\{remote}/*}}

          {{> +refs/changes/*:refs/remotes/@\{remote}/*}}

           

          {\{I am not sure what breaks the changes }}

          {{The multipipeline branch log is as below:}}

          > git rev-parse --is-inside-work-tree # timeout=10
           Setting origin to [https://example.com/myrepo]
           {{ > git config remote.origin.url [https://example.com/myrepo] # timeout=10}}
           Fetching origin...
           Fetching upstream changes from origin
           \{{ > git --version # timeout=10}}
           \{{ > git config --get remote.origin.url # timeout=10}}
           using GIT_SSH to set credentials gerrit robot
           \{{ > git fetch --tags --progress origin +refs/heads/:refs/remotes/origin/ refs/changes/22/122/2:refs/remotes/origin/22/122/2 # timeout=10}}
           \{{ > git rev-parse --is-inside-work-tree # timeout=10}}
           Setting origin to [https://example.com/myrepo]
           {{ > git config remote.origin.url [https://example.com/myrepo] # timeout=10}}
           Fetching & pruning origin...
           Fetching upstream changes from origin
           \{{ > git --version # timeout=10}}
           \{{ > git config --get remote.origin.url # timeout=10}}
           using GIT_SSH to set credentials gerrit robot
           \{{ > git fetch --tags --progress --prune origin +refs/heads/:refs/remotes/origin/ refs/changes/22/122/2:refs/remotes/origin/22/122/2 # timeout=10}}
           Seen branch in repository origin/master
           Seen 1 remote branch
           Checking 1 branches ...
           Filtered 1 branches ...
           \{{ Checking branch master}}
           \{{ ‘Jenkinsfile’ found}}
           master meets the criteria
           \{{ > git rev-parse --is-inside-work-tree # timeout=10}}
           Setting origin to [https://example.com/myrepo]
           {{ > git config remote.origin.url [https://example.com/myrepo] # timeout=10}}
           Fetching origin...
           Fetching upstream changes from origin
           \{{ > git --version # timeout=10}}
           \{{ > git config --get remote.origin.url # timeout=10}}
           using GIT_SSH to set credentials gerrit robot
           \{{ > git fetch --tags --progress origin +refs/heads/master:refs/remotes/origin/master # timeout=10}}
           No changes detected: master (still at 20e02616cfc6e43867d17b322ee09509ea56002f)
           Processed 0 branches
           Processed 0 changes
           [Wed Feb 05 09:51:51 MYT 2020] Finished branch indexing. Indexing took 0.88 sec
           Finished: SUCCESS
          New: Jenkins won't build the changeset even it can successfully detect it.

          The configuration in Jenkins is as below:

          --Within Repository--

          Discover open changes

          --Additional--

          Specify ref specs

          > +refs/heads/*:refs/remotes/@\{remote}/*

          > +refs/changes/*:refs/remotes/@\{remote}/*

           

          {\{I am not sure what breaks the changes

          The multipipeline branch log is as below:

          > git rev-parse --is-inside-work-tree # timeout=10
           Setting origin to [https://example.com/myrepo]
            > git config remote.origin.url [https://example.com/myrepo] # timeout=10
           Fetching origin...
           Fetching upstream changes from origin
          > git --version # timeout=10
          > git config --get remote.origin.url # timeout=10
           using GIT_SSH to set credentials gerrit robot
          > git fetch --tags --progress origin +refs/heads/:refs/remotes/origin/ refs/changes/22/122/2:refs/remotes/origin/22/122/2 # timeout=10
          > git rev-parse --is-inside-work-tree # timeout=10
           Setting origin to [https://example.com/myrepo]
            > git config remote.origin.url [https://example.com/myrepo] # timeout=10
           Fetching & pruning origin...
           Fetching upstream changes from origin
          > git --version # timeout=10
          > git config --get remote.origin.url # timeout=10
           using GIT_SSH to set credentials gerrit robot
          > git fetch --tags --progress --prune origin +refs/heads/:refs/remotes/origin/ refs/changes/22/122/2:refs/remotes/origin/22/122/2 # timeout=10
           Seen branch in repository origin/master
           Seen 1 remote branch
           Checking 1 branches ...
           Filtered 1 branches ...
          Checking branch master
          ‘Jenkinsfile’ found
           master meets the criteria
          > git rev-parse --is-inside-work-tree # timeout=10
           Setting origin to [https://example.com/myrepo]
            > git config remote.origin.url [https://example.com/myrepo] # timeout=10
           Fetching origin...
           Fetching upstream changes from origin
          > git --version # timeout=10
          > git config --get remote.origin.url # timeout=10
           using GIT_SSH to set credentials gerrit robot
          > git fetch --tags --progress origin +refs/heads/master:refs/remotes/origin/master # timeout=10
           No changes detected: master (still at 20e02616cfc6e43867d17b322ee09509ea56002f)
           Processed 0 branches
           Processed 0 changes
           [Wed Feb 05 09:51:51 MYT 2020] Finished branch indexing. Indexing took 0.88 sec
           Finished: SUCCESS
          honghan wong made changes -
          Description Original: Jenkins won't build the changeset even it can successfully detect it.

          The configuration in Jenkins is as below:

          --Within Repository--

          Discover open changes

          --Additional--

          Specify ref specs

          > +refs/heads/*:refs/remotes/@\{remote}/*

          > +refs/changes/*:refs/remotes/@\{remote}/*

           

          {\{I am not sure what breaks the changes

          The multipipeline branch log is as below:

          > git rev-parse --is-inside-work-tree # timeout=10
           Setting origin to [https://example.com/myrepo]
            > git config remote.origin.url [https://example.com/myrepo] # timeout=10
           Fetching origin...
           Fetching upstream changes from origin
          > git --version # timeout=10
          > git config --get remote.origin.url # timeout=10
           using GIT_SSH to set credentials gerrit robot
          > git fetch --tags --progress origin +refs/heads/:refs/remotes/origin/ refs/changes/22/122/2:refs/remotes/origin/22/122/2 # timeout=10
          > git rev-parse --is-inside-work-tree # timeout=10
           Setting origin to [https://example.com/myrepo]
            > git config remote.origin.url [https://example.com/myrepo] # timeout=10
           Fetching & pruning origin...
           Fetching upstream changes from origin
          > git --version # timeout=10
          > git config --get remote.origin.url # timeout=10
           using GIT_SSH to set credentials gerrit robot
          > git fetch --tags --progress --prune origin +refs/heads/:refs/remotes/origin/ refs/changes/22/122/2:refs/remotes/origin/22/122/2 # timeout=10
           Seen branch in repository origin/master
           Seen 1 remote branch
           Checking 1 branches ...
           Filtered 1 branches ...
          Checking branch master
          ‘Jenkinsfile’ found
           master meets the criteria
          > git rev-parse --is-inside-work-tree # timeout=10
           Setting origin to [https://example.com/myrepo]
            > git config remote.origin.url [https://example.com/myrepo] # timeout=10
           Fetching origin...
           Fetching upstream changes from origin
          > git --version # timeout=10
          > git config --get remote.origin.url # timeout=10
           using GIT_SSH to set credentials gerrit robot
          > git fetch --tags --progress origin +refs/heads/master:refs/remotes/origin/master # timeout=10
           No changes detected: master (still at 20e02616cfc6e43867d17b322ee09509ea56002f)
           Processed 0 branches
           Processed 0 changes
           [Wed Feb 05 09:51:51 MYT 2020] Finished branch indexing. Indexing took 0.88 sec
           Finished: SUCCESS
          New: Jenkins won't build the changeset even it can successfully detect it.

          The configuration in Jenkins is as below:

          \-\-Within Repository\-\-

          Discover open changes

          \-\-Additional\-\-

          Specify ref specs

          > +refs/heads/\*:refs/remotes/@\{remote}/\*

          > +refs/changes/\*:refs/remotes/@\{remote}/\*

           

          {\{I am not sure what breaks the changes

          The multipipeline branch log is as below:

          > git rev-parse --is-inside-work-tree # timeout=10
           Setting origin to [https://example.com/myrepo]
            > git config remote.origin.url [https://example.com/myrepo] # timeout=10
           Fetching origin...
           Fetching upstream changes from origin
          > git --version # timeout=10
          > git config --get remote.origin.url # timeout=10
           using GIT_SSH to set credentials gerrit robot
          > git fetch --tags --progress origin +refs/heads/:refs/remotes/origin/ refs/changes/22/122/2:refs/remotes/origin/22/122/2 # timeout=10
          > git rev-parse --is-inside-work-tree # timeout=10
           Setting origin to [https://example.com/myrepo]
            > git config remote.origin.url [https://example.com/myrepo] # timeout=10
           Fetching & pruning origin...
           Fetching upstream changes from origin
          > git --version # timeout=10
          > git config --get remote.origin.url # timeout=10
           using GIT_SSH to set credentials gerrit robot
          > git fetch --tags --progress --prune origin +refs/heads/:refs/remotes/origin/ refs/changes/22/122/2:refs/remotes/origin/22/122/2 # timeout=10
           Seen branch in repository origin/master
           Seen 1 remote branch
           Checking 1 branches ...
           Filtered 1 branches ...
          Checking branch master
          ‘Jenkinsfile’ found
           master meets the criteria
          > git rev-parse --is-inside-work-tree # timeout=10
           Setting origin to [https://example.com/myrepo]
            > git config remote.origin.url [https://example.com/myrepo] # timeout=10
           Fetching origin...
           Fetching upstream changes from origin
          > git --version # timeout=10
          > git config --get remote.origin.url # timeout=10
           using GIT_SSH to set credentials gerrit robot
          > git fetch --tags --progress origin +refs/heads/master:refs/remotes/origin/master # timeout=10
           No changes detected: master (still at 20e02616cfc6e43867d17b322ee09509ea56002f)
           Processed 0 branches
           Processed 0 changes
           [Wed Feb 05 09:51:51 MYT 2020] Finished branch indexing. Indexing took 0.88 sec
           Finished: SUCCESS
          honghan wong made changes -
          Description Original: Jenkins won't build the changeset even it can successfully detect it.

          The configuration in Jenkins is as below:

          \-\-Within Repository\-\-

          Discover open changes

          \-\-Additional\-\-

          Specify ref specs

          > +refs/heads/\*:refs/remotes/@\{remote}/\*

          > +refs/changes/\*:refs/remotes/@\{remote}/\*

           

          {\{I am not sure what breaks the changes

          The multipipeline branch log is as below:

          > git rev-parse --is-inside-work-tree # timeout=10
           Setting origin to [https://example.com/myrepo]
            > git config remote.origin.url [https://example.com/myrepo] # timeout=10
           Fetching origin...
           Fetching upstream changes from origin
          > git --version # timeout=10
          > git config --get remote.origin.url # timeout=10
           using GIT_SSH to set credentials gerrit robot
          > git fetch --tags --progress origin +refs/heads/:refs/remotes/origin/ refs/changes/22/122/2:refs/remotes/origin/22/122/2 # timeout=10
          > git rev-parse --is-inside-work-tree # timeout=10
           Setting origin to [https://example.com/myrepo]
            > git config remote.origin.url [https://example.com/myrepo] # timeout=10
           Fetching & pruning origin...
           Fetching upstream changes from origin
          > git --version # timeout=10
          > git config --get remote.origin.url # timeout=10
           using GIT_SSH to set credentials gerrit robot
          > git fetch --tags --progress --prune origin +refs/heads/:refs/remotes/origin/ refs/changes/22/122/2:refs/remotes/origin/22/122/2 # timeout=10
           Seen branch in repository origin/master
           Seen 1 remote branch
           Checking 1 branches ...
           Filtered 1 branches ...
          Checking branch master
          ‘Jenkinsfile’ found
           master meets the criteria
          > git rev-parse --is-inside-work-tree # timeout=10
           Setting origin to [https://example.com/myrepo]
            > git config remote.origin.url [https://example.com/myrepo] # timeout=10
           Fetching origin...
           Fetching upstream changes from origin
          > git --version # timeout=10
          > git config --get remote.origin.url # timeout=10
           using GIT_SSH to set credentials gerrit robot
          > git fetch --tags --progress origin +refs/heads/master:refs/remotes/origin/master # timeout=10
           No changes detected: master (still at 20e02616cfc6e43867d17b322ee09509ea56002f)
           Processed 0 branches
           Processed 0 changes
           [Wed Feb 05 09:51:51 MYT 2020] Finished branch indexing. Indexing took 0.88 sec
           Finished: SUCCESS
          New: Jenkins won't build the changeset even it can successfully detect it.

          The configuration in Jenkins is as below:

          \-\-Within Repository\-\-

          {{Discover open changes}}

          \-\-Additional\-\-

          {{Specify ref specs}}
          {quote}{{> +refs/heads/\*:refs/remotes/@\{remote}/\*}}{{> +refs/changes/\*:refs/remotes/@\{remote}/\*}}
          I am not sure what breaks the changes

          The multipipeline branch log is as below:

          {{> git rev-parse --is-inside-work-tree # timeout=10}}
          {{ Setting origin to [https://example.com/myrepo]}}
          {{ > git config remote.origin.url [https://example.com/myrepo] # timeout=10}}
          {{ Fetching origin...}}
          {{ Fetching upstream changes from origin}}
          {{ > git --version # timeout=10}}
          {{ > git config --get remote.origin.url # timeout=10}}
          {{ using GIT_SSH to set credentials gerrit robot}}
          {{ > git fetch --tags --progress origin +refs/heads/:refs/remotes/origin/ refs/changes/22/122/2:refs/remotes/origin/22/122/2 # timeout=10}}
          {{ > git rev-parse --is-inside-work-tree # timeout=10}}
          {{ Setting origin to [https://example.com/myrepo]}}
          {{ > git config remote.origin.url [https://example.com/myrepo] # timeout=10}}
          {{ Fetching & pruning origin...}}
          {{ Fetching upstream changes from origin}}
          {{ > git --version # timeout=10}}
          {{ > git config --get remote.origin.url # timeout=10}}
          {{ using GIT_SSH to set credentials gerrit robot}}
          {{ > git fetch --tags --progress --prune origin +refs/heads/:refs/remotes/origin/ refs/changes/22/122/2:refs/remotes/origin/22/122/2 # timeout=10}}
          {{ Seen branch in repository origin/master}}
          {{ Seen 1 remote branch}}
          {{ Checking 1 branches ...}}
          {{ Filtered 1 branches ...}}
          {{ Checking branch master}}
          {{ ‘Jenkinsfile’ found}}
          {{ master meets the criteria}}
          {{ > git rev-parse --is-inside-work-tree # timeout=10}}
          {{ Setting origin to [https://example.com/myrepo]}}
          {{ > git config remote.origin.url [https://example.com/myrepo] # timeout=10}}
          {{ Fetching origin...}}
          {{ Fetching upstream changes from origin}}
          {{ > git --version # timeout=10}}
          {{ > git config --get remote.origin.url # timeout=10}}
          {{ using GIT_SSH to set credentials gerrit robot}}
          {{ > git fetch --tags --progress origin +refs/heads/master:refs/remotes/origin/master # timeout=10}}
          {{ No changes detected: master (still at 20e02616cfc6e43867d17b322ee09509ea56002f)}}
          {{ Processed 0 branches}}
          {{ Processed 0 changes}}
          {{ [Wed Feb 05 09:51:51 MYT 2020] Finished branch indexing. Indexing took 0.88 sec}}
          {{ Finished: SUCCESS}}
          honghan wong made changes -
          Description Original: Jenkins won't build the changeset even it can successfully detect it.

          The configuration in Jenkins is as below:

          \-\-Within Repository\-\-

          {{Discover open changes}}

          \-\-Additional\-\-

          {{Specify ref specs}}
          {quote}{{> +refs/heads/\*:refs/remotes/@\{remote}/\*}}{{> +refs/changes/\*:refs/remotes/@\{remote}/\*}}
          I am not sure what breaks the changes

          The multipipeline branch log is as below:

          {{> git rev-parse --is-inside-work-tree # timeout=10}}
          {{ Setting origin to [https://example.com/myrepo]}}
          {{ > git config remote.origin.url [https://example.com/myrepo] # timeout=10}}
          {{ Fetching origin...}}
          {{ Fetching upstream changes from origin}}
          {{ > git --version # timeout=10}}
          {{ > git config --get remote.origin.url # timeout=10}}
          {{ using GIT_SSH to set credentials gerrit robot}}
          {{ > git fetch --tags --progress origin +refs/heads/:refs/remotes/origin/ refs/changes/22/122/2:refs/remotes/origin/22/122/2 # timeout=10}}
          {{ > git rev-parse --is-inside-work-tree # timeout=10}}
          {{ Setting origin to [https://example.com/myrepo]}}
          {{ > git config remote.origin.url [https://example.com/myrepo] # timeout=10}}
          {{ Fetching & pruning origin...}}
          {{ Fetching upstream changes from origin}}
          {{ > git --version # timeout=10}}
          {{ > git config --get remote.origin.url # timeout=10}}
          {{ using GIT_SSH to set credentials gerrit robot}}
          {{ > git fetch --tags --progress --prune origin +refs/heads/:refs/remotes/origin/ refs/changes/22/122/2:refs/remotes/origin/22/122/2 # timeout=10}}
          {{ Seen branch in repository origin/master}}
          {{ Seen 1 remote branch}}
          {{ Checking 1 branches ...}}
          {{ Filtered 1 branches ...}}
          {{ Checking branch master}}
          {{ ‘Jenkinsfile’ found}}
          {{ master meets the criteria}}
          {{ > git rev-parse --is-inside-work-tree # timeout=10}}
          {{ Setting origin to [https://example.com/myrepo]}}
          {{ > git config remote.origin.url [https://example.com/myrepo] # timeout=10}}
          {{ Fetching origin...}}
          {{ Fetching upstream changes from origin}}
          {{ > git --version # timeout=10}}
          {{ > git config --get remote.origin.url # timeout=10}}
          {{ using GIT_SSH to set credentials gerrit robot}}
          {{ > git fetch --tags --progress origin +refs/heads/master:refs/remotes/origin/master # timeout=10}}
          {{ No changes detected: master (still at 20e02616cfc6e43867d17b322ee09509ea56002f)}}
          {{ Processed 0 branches}}
          {{ Processed 0 changes}}
          {{ [Wed Feb 05 09:51:51 MYT 2020] Finished branch indexing. Indexing took 0.88 sec}}
          {{ Finished: SUCCESS}}
          New: Jenkins won't build the changeset even it can successfully detect it.

          The configuration in Jenkins is as below:

          --Within Repository--

          {{Discover open changes}}

          --Additional--

          {{Specify ref specs}}

          {{> +refs/heads/*:refs/remotes/@\{remote}/*}}

          {{> +refs/changes/*:refs/remotes/@\{remote}/*}}
           I am not sure what breaks the changes

           

          The multipipeline branch log is as below:

          {{> git rev-parse --is-inside-work-tree # timeout=10}}
          {{Setting origin to https://example.com/myrepo}}
          {{> git config remote.origin.url https://example.com/myrepo # timeout=10}}
          {{Fetching origin...}}
          {{Fetching upstream changes from origin}}
          {{> git --version # timeout=10}}
          {{> git config --get remote.origin.url # timeout=10}}
          {{using GIT_SSH to set credentials gerrit robot}}
          {{> git fetch --tags --progress origin +refs/heads/:refs/remotes/origin/ refs/changes/22/122/2:refs/remotes/origin/22/122/2 # timeout=10}}
          {{> git rev-parse --is-inside-work-tree # timeout=10}}
          {{Setting origin to https://example.com/myrepo}}
          {{> git config remote.origin.url https://example.com/myrepo # timeout=10}}
          {{Fetching & pruning origin...}}
          {{Fetching upstream changes from origin}}
          {{> git --version # timeout=10}}
          {{> git config --get remote.origin.url # timeout=10}}
          {{using GIT_SSH to set credentials gerrit robot}}
          {{> git fetch --tags --progress --prune origin +refs/heads/:refs/remotes/origin/ refs/changes/22/122/2:refs/remotes/origin/22/122/2 # timeout=10}}
          {{Seen branch in repository origin/master}}
          {{Seen 1 remote branch}}
          {{Checking 1 branches ...}}
          {{Filtered 1 branches ...}}
          {{Checking branch master}}
          {{‘Jenkinsfile’ found}}
          {{master meets the criteria}}
          {{> git rev-parse --is-inside-work-tree # timeout=10}}
          {{Setting origin to https://example.com/myrepo}}
          {{> git config remote.origin.url https://example.com/myrepo # timeout=10}}
          {{Fetching origin...}}
          {{Fetching upstream changes from origin}}
          {{> git --version # timeout=10}}
          {{> git config --get remote.origin.url # timeout=10}}
          {{using GIT_SSH to set credentials gerrit robot}}
          {{> git fetch --tags --progress origin +refs/heads/master:refs/remotes/origin/master # timeout=10}}
          {{No changes detected: master (still at 20e02616cfc6e43867d17b322ee09509ea56002f)}}
          {{Processed 0 branches}}
          {{Processed 0 changes}}
          {{[Wed Feb 05 09:51:51 MYT 2020] Finished branch indexing. Indexing took 0.88 sec}}
          {{Finished: SUCCESS}}
          honghan wong made changes -
          Description Original: Jenkins won't build the changeset even it can successfully detect it.

          The configuration in Jenkins is as below:

          --Within Repository--

          {{Discover open changes}}

          --Additional--

          {{Specify ref specs}}

          {{> +refs/heads/*:refs/remotes/@\{remote}/*}}

          {{> +refs/changes/*:refs/remotes/@\{remote}/*}}
           I am not sure what breaks the changes

           

          The multipipeline branch log is as below:

          {{> git rev-parse --is-inside-work-tree # timeout=10}}
          {{Setting origin to https://example.com/myrepo}}
          {{> git config remote.origin.url https://example.com/myrepo # timeout=10}}
          {{Fetching origin...}}
          {{Fetching upstream changes from origin}}
          {{> git --version # timeout=10}}
          {{> git config --get remote.origin.url # timeout=10}}
          {{using GIT_SSH to set credentials gerrit robot}}
          {{> git fetch --tags --progress origin +refs/heads/:refs/remotes/origin/ refs/changes/22/122/2:refs/remotes/origin/22/122/2 # timeout=10}}
          {{> git rev-parse --is-inside-work-tree # timeout=10}}
          {{Setting origin to https://example.com/myrepo}}
          {{> git config remote.origin.url https://example.com/myrepo # timeout=10}}
          {{Fetching & pruning origin...}}
          {{Fetching upstream changes from origin}}
          {{> git --version # timeout=10}}
          {{> git config --get remote.origin.url # timeout=10}}
          {{using GIT_SSH to set credentials gerrit robot}}
          {{> git fetch --tags --progress --prune origin +refs/heads/:refs/remotes/origin/ refs/changes/22/122/2:refs/remotes/origin/22/122/2 # timeout=10}}
          {{Seen branch in repository origin/master}}
          {{Seen 1 remote branch}}
          {{Checking 1 branches ...}}
          {{Filtered 1 branches ...}}
          {{Checking branch master}}
          {{‘Jenkinsfile’ found}}
          {{master meets the criteria}}
          {{> git rev-parse --is-inside-work-tree # timeout=10}}
          {{Setting origin to https://example.com/myrepo}}
          {{> git config remote.origin.url https://example.com/myrepo # timeout=10}}
          {{Fetching origin...}}
          {{Fetching upstream changes from origin}}
          {{> git --version # timeout=10}}
          {{> git config --get remote.origin.url # timeout=10}}
          {{using GIT_SSH to set credentials gerrit robot}}
          {{> git fetch --tags --progress origin +refs/heads/master:refs/remotes/origin/master # timeout=10}}
          {{No changes detected: master (still at 20e02616cfc6e43867d17b322ee09509ea56002f)}}
          {{Processed 0 branches}}
          {{Processed 0 changes}}
          {{[Wed Feb 05 09:51:51 MYT 2020] Finished branch indexing. Indexing took 0.88 sec}}
          {{Finished: SUCCESS}}
          New: Jenkins won't build the changeset even it can successfully detect it.

          The configuration in Jenkins is as below:

          \-\-\-Within Repository\-\-\-

          {{Discover open changes}}

          \-\-\-Additional\-\-\-

          {{Specify ref specs}}

          {{> +refs/heads/\*:refs/remotes/@\{remote}/\*}}

          {{> +refs/changes/\*:refs/remotes/@\{remote}/\*}}
           I am not sure what breaks the changes

           

          The multipipeline branch log is as below:

          {{> git rev-parse --is-inside-work-tree # timeout=10}}
           {{Setting origin to [https://example.com/myrepo]}}
           {{> git config remote.origin.url [https://example.com/myrepo] # timeout=10}}
           {{Fetching origin...}}
           {{Fetching upstream changes from origin}}
           {{> git --version # timeout=10}}
           {{> git config --get remote.origin.url # timeout=10}}
           {{using GIT_SSH to set credentials gerrit robot}}
           {{> git fetch --tags --progress origin +refs/heads/:refs/remotes/origin/ refs/changes/22/122/2:refs/remotes/origin/22/122/2 # timeout=10}}
           {{> git rev-parse --is-inside-work-tree # timeout=10}}
           {{Setting origin to [https://example.com/myrepo]}}
           {{> git config remote.origin.url [https://example.com/myrepo] # timeout=10}}
           {{Fetching & pruning origin...}}
           {{Fetching upstream changes from origin}}
           {{> git --version # timeout=10}}
           {{> git config --get remote.origin.url # timeout=10}}
           {{using GIT_SSH to set credentials gerrit robot}}
           {{> git fetch --tags --progress --prune origin +refs/heads/:refs/remotes/origin/ refs/changes/22/122/2:refs/remotes/origin/22/122/2 # timeout=10}}
           {{Seen branch in repository origin/master}}
           {{Seen 1 remote branch}}
           {{Checking 1 branches ...}}
           {{Filtered 1 branches ...}}
           {{Checking branch master}}
           {{‘Jenkinsfile’ found}}
           {{master meets the criteria}}
           {{> git rev-parse --is-inside-work-tree # timeout=10}}
           {{Setting origin to [https://example.com/myrepo]}}
           {{> git config remote.origin.url [https://example.com/myrepo] # timeout=10}}
           {{Fetching origin...}}
           {{Fetching upstream changes from origin}}
           {{> git --version # timeout=10}}
           {{> git config --get remote.origin.url # timeout=10}}
           {{using GIT_SSH to set credentials gerrit robot}}
           {{> git fetch --tags --progress origin +refs/heads/master:refs/remotes/origin/master # timeout=10}}
           {{No changes detected: master (still at 20e02616cfc6e43867d17b322ee09509ea56002f)}}
           {{Processed 0 branches}}
           {{Processed 0 changes}}
           {{[Wed Feb 05 09:51:51 MYT 2020] Finished branch indexing. Indexing took 0.88 sec}}
           {{Finished: SUCCESS}}

          honghan wong added a comment - - edited

          I just removed the +refs/heads/*:refs/remotes/@{remote}/* in Specify ref spec and it starts working, its different from this video they demonstrate

          JenkinsWorld2018

          So in my scenario the plugin works in this case.

          In Specify ref specs, add refs/changes and remove refs/heads, in any other case it won't work.

           

          honghan wong added a comment - - edited I just removed the +refs/heads/*:refs/remotes/@{remote}/* in Specify ref spec and it starts working, its different from this video they demonstrate JenkinsWorld2018 So in my scenario the plugin works in this case. In Specify ref specs, add refs/changes and remove refs/heads, in any other case it won't work.  
          honghan wong made changes -
          Assignee Original: Luca Domenico Milanesio [ lucamilanesio ] New: honghan wong [ honghan_tt ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          honghan wong made changes -
          Priority Original: Major [ 3 ] New: Trivial [ 5 ]

            Unassigned Unassigned
            honghan_tt honghan wong
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: