jenkins build numbers are in odd number 1,3,5 etc

24 views
Skip to first unread message

sreeni

unread,
Apr 4, 2019, 12:06:49 PM4/4/19
to Jenkins Users
Hi Team,

I've installed the latest jenkins version 2.170, noticed that the when running a job, the build numbers are in odd number like 1,3,5 etc. I've also noticed that the builds are getting delete automatically. I ensured that the job is not configured to delete the old builds. 

I've another jenkins version 2.164 and didn't notice this behaviour. Could this be related to the new jenkins version 2.170 i'm using?

any help would be much appreciated.

thank you

Regards,
Sreenivas

Mark Waite

unread,
Apr 4, 2019, 12:19:18 PM4/4/19
to Jenkins Users
I installed Jenkins 2.170, created a Freestyle job, and ran the job multiple times.  It used sequential build numbers as I expected.  Builds 1, 2, 3, 4, 5, ....

I would be surprised if that were related to Jenkins 2.170.  If you can duplicate the problem, please submit a bug report so that it can be fixed.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/cdd44ea9-4d0a-46f6-b92c-fa4391a703f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Thanks!
Mark Waite

sreeni

unread,
Apr 4, 2019, 4:16:23 PM4/4/19
to Jenkins Users
Hi Mark

thank you your reply.

The job i was running was a pipeline job. I've huge number of plugins. The issue is also with 2.164 but the plugins i have are all latest. Here is my plugin list,

Mercurial plugin (mercurial): 2.5
JDK Tool Plugin (jdk-tool): 1.2
jQuery plugin (jquery): 1.12.4-0
Script Security Plugin (script-security): 1.56
Branch API Plugin (branch-api): 2.3.0
Command Agent Launcher Plugin (command-launcher): 1.3
packer (packer): 1.5
Structs Plugin (structs): 1.17
Pipeline: Model API (pipeline-model-api): 1.3.7
Pipeline: Step API (workflow-step-api): 2.19
Job Restrictions Plugin (job-restrictions): 0.8
SCM API Plugin (scm-api): 2.4.0
SSH Slaves plugin (ssh-slaves): 1.29.4
Pipeline: API (workflow-api): 2.33
Pipeline: Declarative Extension Points API (pipeline-model-extensions): 1.3.7
bouncycastle API Plugin (bouncycastle-api): 2.17
cross-platform shell plugin (xshell): 0.10
JUnit Plugin (junit): 1.27
GIT server Plugin (git-server): 1.7
Matrix Project Plugin (matrix-project): 1.14
Pipeline: Shared Groovy Libraries (workflow-cps-global-lib): 2.13
Dashboard View (dashboard-view): 2.10
Export Prameters (export-params): 1.9
Timestamper (timestamper): 1.9
HTML Publisher plugin (htmlpublisher): 1.18
Consul Plugin (consul): 2.1
Config API for Blue Ocean (blueocean-config): 1.14.0
Credentials Plugin (credentials): 2.1.18
Durable Task Plugin (durable-task): 1.29
SSH Credentials Plugin (ssh-credentials): 1.15
JIRA plugin (jira): 3.0.6
Azure Commons Plugin (azure-commons): 0.2.10
Docker Pipeline (docker-workflow): 1.18
Plain Credentials Plugin (plain-credentials): 1.5
Pipeline: Declarative (pipeline-model-definition): 1.3.7
Credentials Binding Plugin (credentials-binding): 1.18
Copy Artifact Plugin (copyartifact): 1.42
Azure Credentials (azure-credentials): 1.6.1
JIRA Integration for Blue Ocean (blueocean-jira): 1.14.0
Azure Virtual Machine Scale Set Plugin (azure-vmss): 0.2.1
Design Language (jenkins-design-language): 1.14.0
WMI Windows Agents Plugin (windows-slaves): 1.4
Server Sent Events (SSE) Gateway Plugin (sse-gateway): 1.17
Matrix Authorization Strategy Plugin (matrix-auth): 2.3
Folders Plugin (cloudbees-folder): 6.7
OWASP Markup Formatter Plugin (antisamy-markup-formatter): 1.5
Blue Ocean Core JS (blueocean-core-js): 1.14.0
Persistent Parameter Plugin (persistent-parameter): 1.1
Variant Plugin (variant): 1.2
UpdateSites Manager plugin (update-sites-manager): 2.0.0
Common API for Blue Ocean (blueocean-commons): 1.14.0
Authentication Tokens API Plugin (authentication-tokens): 1.3
REST API for Blue Ocean (blueocean-rest): 1.14.0
Docker Commons Plugin (docker-commons): 1.14
NodeJS Plugin (nodejs): 1.2.9
mesos (mesos): 0.18.1
CloudBees Docker Custom Build Environment Plugin (docker-custom-build-environment): 1.7.3
Events API for Blue Ocean (blueocean-events): 1.14.0
Jackson 2 API Plugin (jackson2-api): 2.9.8
i18n for Blue Ocean (blueocean-i18n): 1.14.0
JavaScript GUI Lib: ACE Editor bundle plugin (ace-editor): 1.1
Web for Blue Ocean (blueocean-web): 1.14.0
JavaScript GUI Lib: jQuery bundles (jQuery and jQuery UI) plugin (jquery-detached): 1.2.1
LDAP Plugin (ldap): 1.20
Pipeline: SCM Step (workflow-scm-step): 2.7
Groovy (groovy): 2.2
Pipeline: Supporting APIs (workflow-support): 3.2
Blue Ocean (blueocean): 1.14.0
Pipeline: Groovy (workflow-cps): 2.65
Job Generator (jobgenerator): 1.22
Pipeline: Input Step (pipeline-input-step): 2.10
Favorite (favorite): 2.3.2
Pipeline: Stage Step (pipeline-stage-step): 2.3
MapDB API Plugin (mapdb-api): 1.0.9.0
Pipeline: Job (workflow-job): 2.32
Pipeline: Basic Steps (workflow-basic-steps): 2.15
Pipeline Graph Analysis Plugin (pipeline-graph-analysis): 1.9
Autofavorite for Blue Ocean (blueocean-autofavorite): 1.2.4
Pipeline: REST API Plugin (pipeline-rest-api): 2.10
Subversion Plug-in (subversion): 2.12.1
JavaScript GUI Lib: Handlebars bundle plugin (handlebars): 1.1.1
ThinBackup (thinBackup): 1.9
JavaScript GUI Lib: Moment.js bundle plugin (momentjs): 1.1.1
Multiple SCMs plugin (multiple-scms): 0.6
Pipeline: Stage View Plugin (pipeline-stage-view): 2.10
Resource Disposer Plugin (resource-disposer): 0.12
Javadoc Plugin (javadoc): 1.5
Parameterized Trigger plugin (parameterized-trigger): 2.35.2
Apache HttpComponents Client 4.x API Plugin (apache-httpcomponents-client-4-api): 4.5.5-3.0
Pipeline: Build Step (pipeline-build-step): 2.8
Display URL API (display-url-api): 2.3.1
Workspace Cleanup Plugin (ws-cleanup): 0.37
Mailer Plugin (mailer): 1.23
Environment Injector Plugin (envinject): 2.1.6
JSch dependency plugin (jsch): 0.1.55
ruby-runtime (ruby-runtime): 0.12
Maven Integration plugin (maven-plugin): 3.2
Terraform Plugin (terraform): 1.0.9
Token Macro Plugin (token-macro): 2.7
Rebuilder (rebuild): 1.30
Run Condition Plugin (run-condition): 1.2
Slack Notification Plugin (slack): 2.20
Conditional BuildStep (conditional-buildstep): 1.3.6
Pipeline: Multibranch (workflow-multibranch): 2.21
GitHub Pull Request Builder (ghprb): 1.42.0
Ansible plugin (ansible): 1.0
Delivery Pipeline Plugin (delivery-pipeline-plugin): 1.3.2
JWT for Blue Ocean (blueocean-jwt): 1.14.0
Consul KV Builder (consul-kv-builder): 2.0.13
JIRA Trigger Plugin (jira-trigger): 0.6.3
GitHub API Plugin (github-api): 1.95
AnsiColor (ansicolor): 0.6.2
Git client plugin (git-client): 2.7.6
Ant Plugin (ant): 1.9
Git plugin (git): 3.9.3
docker-build-step (docker-build-step): 2.2
GitHub plugin (github): 1.29.4
Pub-Sub "light" Bus (pubsub-light): 1.12
Pipeline: Nodes and Processes (workflow-durable-task-step): 2.30
Pipeline: Stage Tags Metadata (pipeline-stage-tags-metadata): 1.3.7
Pipeline: Declarative Agent API (pipeline-model-declarative-agent): 1.1.1
GitHub Branch Source Plugin (github-branch-source): 2.4.5
Pipeline: GitHub Groovy Libraries (pipeline-github-lib): 1.0
GitHub Organization Folder Plugin (github-organization-folder): 1.6
Dashboard for Blue Ocean (blueocean-dashboard): 1.14.0
Mashup Portlets (mashup-portlets-plugin): 1.0.9
Pipeline SCM API for Blue Ocean (blueocean-pipeline-scm-api): 1.14.0
REST Implementation for Blue Ocean (blueocean-rest-impl): 1.14.0
Pipeline implementation for Blue Ocean (blueocean-pipeline-api-impl): 1.14.0
GitHub Pipeline for Blue Ocean (blueocean-github-pipeline): 1.14.0
Git Pipeline for Blue Ocean (blueocean-git-pipeline): 1.14.0
Pipeline: Milestone Step (pipeline-milestone-step): 1.3.1
Handy Uri Templates 2.x API Plugin (handy-uri-templates-2-api): 2.1.7-1.0
Bitbucket Branch Source Plugin (cloudbees-bitbucket-branch-source): 2.4.2
Bitbucket Pipeline for Blue Ocean (blueocean-bitbucket-pipeline): 1.14.0
Personalization for Blue Ocean (blueocean-personalization): 1.14.0
Blue Ocean Executor Info (blueocean-executor-info): 1.14.0
Display URL for Blue Ocean (blueocean-display-url): 2.2.0
Blue Ocean Pipeline Editor (blueocean-pipeline-editor): 1.14.0
SCM Sync Configuration Plugin (scm-sync-configuration): 0.0.10
Run Condition Extras Plugin (run-condition-extras): 0.3
Windows Azure Storage plugin (windows-azure-storage): 0.3.13
Pipeline Utility Steps (pipeline-utility-steps): 2.3.0
Mission Control Plugin (mission-control-view): 0.9.14
Config File Provider Plugin (config-file-provider): 3.6
EnvInject API Plugin (envinject-api): 1.5
Lockable Resources plugin (lockable-resources): 2.5
Pipeline (workflow-aggregator): 2.6
JIRA Pipeline Steps (jira-steps): 1.4.5
Ivy Plugin (ivy): 2.0
vagrant (vagrant): 1.0.2
Pipeline Aggregator (pipeline-aggregator-view): 1.8
promoted builds plugin (promoted-builds): 3.2
buildgraph-view (buildgraph-view): 1.8
Matrix Groovy Execution Strategy Plugin (matrix-groovy-execution-strategy): 1.0.7
Job and Node ownership plugin (ownership): 0.12.1
GitHub Authentication plugin (github-oauth): 0.31
PAM Authentication plugin (pam-auth): 1.4
External Monitor Job Type Plugin (external-monitor-job): 1.7
git-notes Plugin (git-notes): 0.0.4
View Job Filters (view-job-filters): 2.1.1
Azure CLI Plugin (azure-cli): 0.9
Extended Choice Parameter Plug-In (extended-choice-parameter): 0.78
Green Balls (greenballs): 1.15
Mask Passwords Plugin (mask-passwords): 2.12.0
Gradle Plugin (gradle): 1.31
Job DSL (job-dsl): 1.72
Job Configuration History Plugin (jobConfigHistory): 2.19
Artifactory Plugin (artifactory): 3.2.2
Active Directory plugin (active-directory): 2.13
Git Parameter Plug-In (git-parameter): 0.9.10
Metrics Plugin (metrics): 4.0.2.3
Prometheus metrics plugin (prometheus): 2.0.0
jQuery UI plugin (jquery-ui): 1.0.2
Role-based Authorization Strategy (role-strategy): 2.10
Validating String Parameter Plugin (validating-string-parameter): 2.4
HashiCorp Vault Plugin (hashicorp-vault-plugin): 2.2.0
Parameterized Scheduler (parameterized-scheduler): 0.6.3
XML Job to Job DSL Plugin (xml-job-to-job-dsl): 0.1.10
user build vars plugin (build-user-vars-plugin): 1.5
Kubernetes Credentials Plugin (kubernetes-credentials): 0.4.0
SSH Agent Plugin (ssh-agent): 1.17
Kubernetes plugin (kubernetes): 1.14.9
Extensible Choice Parameter plugin (extensible-choice-parameter): 1.6.0
Git Changelog (git-changelog): 2.16

I'm guessing the one of the plugins is causing the issue but not sure which one it is. Any clue on which plugins could cause this issue would of be great help.

Regards,
Sreenivas

Mark Waite

unread,
Apr 4, 2019, 4:40:31 PM4/4/19
to Jenkins Users
No clue from me on which of those plugins might be causing build numbers to be skipped.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
Thanks!
Mark Waite
Reply all
Reply to author
Forward
0 new messages