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

Multijob doesn't trigger downstream job without SCM if "Build only if SCM changes" disabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • multijob-plugin
    • None
    • jenkins 1.625.2, multijob 1.19

      When downstream job have not SCM trigger (as a parent too)
      when "Build only if SCM changes" checkbox disabled, downstream job says:

      Polling SCM changes on master
          >> Job status: [collectors_install] subjob has no changes since last build. 
      

      enabling this checkbox fixes this problem:

      (working configuration of phase)

      <com.tikal.jenkins.plugins.multijob.MultiJobBuilder>
      <phaseName>Install pack</phaseName>
      <phaseJobs>
      <com.tikal.jenkins.plugins.multijob.PhaseJobsConfig>
      <jobName>collectors_install</jobName>
      <currParams>true</currParams>
      <exposedSCM>false</exposedSCM>
      <disableJob>false</disableJob>
      <parsingRulesPath/>
      <maxRetries>0</maxRetries>
      <enableRetryStrategy>false</enableRetryStrategy>
      <enableCondition>false</enableCondition>
      <abortAllJob>false</abortAllJob>
      <condition/>
      <configs>
      <hudson.plugins.parameterizedtrigger.FileBuildParameters plugin="parameterized-trigger@2.29">
      <propertiesFile>meta.properties</propertiesFile>
      <failTriggerOnMissing>true</failTriggerOnMissing>
      <useMatrixChild>false</useMatrixChild>
      <onlyExactRuns>false</onlyExactRuns>
      </hudson.plugins.parameterizedtrigger.FileBuildParameters>
      </configs>
      <killPhaseOnJobResultCondition>FAILURE</killPhaseOnJobResultCondition>
      <buildOnlyIfSCMChanges>true</buildOnlyIfSCMChanges>
      </com.tikal.jenkins.plugins.multijob.PhaseJobsConfig>
      </phaseJobs>
      <continuationCondition>SUCCESSFUL</continuationCondition>
      </com.tikal.jenkins.plugins.multijob.MultiJobBuilder>
      

            Unassigned Unassigned
            lanwen Kirill Merkushev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: