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

Pipeline is started after Jenkins restart


    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • Jenkins ver. 2.13
      Build Pipeline Plugin 2.2
      SUbversion Plugin 2.6

      I used a simple pipeline with two stages like this:

      node {
          def mvnHome = tool 'Maven-3.3.9'
          stage 'Checkout'
          svn '****/trunk/'
          stage 'Build'
          sh "${mvnHome}/bin/mvn clean package"
          step([$class: 'JUnitResultArchiver', testResults: '**/target/surefire-reports/TEST-*.xml'])
          stage 'Analysis'
          def sonarProperties='***'
          sh "${mvnHome}/bin/mvn $sonarProperties test sonar:sonar"

      As Build Trigger I use Poll SCM for every minute (* * * * *). However each time I update a plugin and restart Jenkins via the web gui the Job is started even no changes are committed. However the polling log will say "Changes found" and has the same revision as the last build (which was triggered correctly because of a change).

      All non Pipeline jobs with same polling setup did not rerun after a restart.

            Unassigned Unassigned
            mszalbach mszalbach
            0 Vote for this issue
            1 Start watching this issue