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

Jenkins is skipping Build section intermittently

XMLWordPrintable

      Jobs are not executing the Build section without any reason.
      After the SCM section build section is not being executed and job flow is directly going to post build actions with out any reason/log.

      This is happening intermittently for all jobs in our environment.

      Here is the log.

      Started by an SCM change
      [EnvInject] - Loading node environment variables.
      Building remotely on Docker-eff8c69cef9f (docker-slave) in workspace /workspace/mybuild
      Wiping out workspace first.
      Cloning the remote Git repository
      Cloning repository ssh://git@something.git
       > /usr/bin/git init /workspace/mybuild # timeout=10
      Fetching upstream changes from ssh://git@something.git
       > /usr/bin/git --version # timeout=10
      using GIT_SSH to set credentials 
       > /usr/bin/git -c core.askpass=true fetch --tags --progress ssh://git@something +refs/heads/*:refs/remotes/origin/*
       > /usr/bin/git config remote.origin.url ssh://git@something # timeout=10
       > /usr/bin/git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
       > /usr/bin/git config remote.origin.url ssh://git@something.git# timeout=10
      Fetching upstream changes from ssh://git@something.git
      using GIT_SSH to set credentials 
       > /usr/bin/git -c core.askpass=true fetch --tags --progress ssh://git@somethinggit +refs/heads/*:refs/remotes/origin/*
       > /usr/bin/git rev-parse origin/develop^{commit} # timeout=10
      Checking out Revision 7d80e72e571df52e45f9639583654 (origin/develop)
       > /usr/bin/git config core.sparsecheckout # timeout=10
       > /usr/bin/git checkout -f 7d80e72e57c06c2e45f9639583654
       > /usr/bin/git rev-list 4e04bb9876b85e78afd830dc5411225 # timeout=10
      
      No emails were triggered.
      [ANALYSIS-COLLECTOR] Skipping publisher since build result is FAILURE
      Skipping Cobertura coverage report as build was not UNSTABLE or better ...
      TestNG Reports Processing: START
      Looking for TestNG results report in workspace using pattern: **/testng-results.xml, **/surefire-reports/*.xml, **/TEST-*.xml
      Did not find any matching files.
      [PostBuildScript] - Execution post build scripts.
      [PostBuildScript] Build is not success : do not execute script
      Publish artifacts to S3 Bucket Using S3 profile: s3-upload-snapshot
      Publish artifacts to S3 Bucket Skipping publishing on S3 because build failed
      Email was triggered for: Failure - Any
      Sending email for trigger: Failure - Any
      Sending email to: us
      ERROR: Build step failed with exception
      
      Finished: FAILURE
      
      

      Ideally before the part "[ANALYSIS-COLLECTOR]" it should run our build part which is maven invoke.

      This issue is happening very frequently.

      Here is the detail about our env

      Jenkins - 1.625.3
      java - 1.8
      OS - ubuntu 14.04
      Tomcat container based jenkins installation
      Not about idea the plugin as this is the core feature of the jenkins.

      Detail jenkins system info is attached with the ticket.

        1. config_with_SCM.rtf
          9 kB
          vishal sahasrabuddhe
        2. config_withoutSCM.rtf
          8 kB
          vishal sahasrabuddhe
        3. Jenkins_system_info.rtf
          230 kB
          vishal sahasrabuddhe
        4. Jenkins log with build error.rtf
          34 kB
          vishal sahasrabuddhe

            Unassigned Unassigned
            vishal_vsh1 vishal sahasrabuddhe
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: