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

Disabled pipeline job is enabled after Jenkins restart

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core, pipeline
    • None
    • Jenkins Generic Java Package (.war) LTS 2.277.3, RedHat Linux redhat-release-server-7.9-5, openjdk version "1.8.0_282"

      A disabled pipeline job is automatically re-enabled after restarting the machine. Operators have restarted the server where Jenkins is running, after coming back online the job was enabled. 

       

      Disabling the job is done via API:

      session.post('https://{0}:{1}@{2}/job/{3}/{4}'.format(jnkns_user, jnkns_token, jnkns_url, job, activation_mode)) // enable/disable

       


      Installed plugins:

      ace-editor: 1.1
      active-directory: 2.23
      android-signing: 2.2.5
      ansicolor: 0.7.5
      ant: 1.11
      antisamy-markup-formatter: 2.1
      apache-httpcomponents-client-4-api: 4.5.13-1.0
      authentication-tokens: 1.4
      bouncycastle-api: 2.20
      branch-api: 2.6.3
      build-blocker-plugin: 1.7.7
      build-timeout: 1.20
      build-timestamp: 1.0.3
      build-token-root: 1.7
      build-user-vars-plugin: 1.7
      cloudbees-bitbucket-branch-source: 2.9.8
      cloudbees-folder: 6.15
      command-launcher: 1.5
      conditional-buildstep: 1.4.1
      config-file-provider: 3.8.0
      configurationslicing: 1.52
      credentials-binding: 1.24
      credentials: 2.3.18
      database-mysql: 1.4
      database: 1.7
      dependency-check-jenkins-plugin: 5.1.1
      description-setter: 1.10
      display-url-api: 2.3.4
      docker-commons: 1.17
      docker-workflow: 1.26
      durable-task: 1.35
      email-ext: 2.82
      envinject-api: 1.7
      envinject: 2.4.0
      extended-choice-parameter: 0.82
      external-monitor-job: 1.7
      git-client: 3.7.1
      git-parameter: 0.9.13
      git-server: 1.9
      git: 4.7.1
      github-api: 1.123
      github-branch-source: 2.10.2
      github: 1.33.1
      gradle: 1.36
      greenballs: 1.15.1
      handlebars: 3.0.8
      handy-uri-templates-2-api: 2.1.8-1.0
      hidden-parameter: 0.0.4
      htmlpublisher: 1.25
      http_request: 1.8.27
      jackson2-api: 2.12.3
      javadoc: 1.6
      jdk-tool: 1.5
      jenkins-design-language: 1.24.6
      jira: 3.2.1
      jobConfigHistory: 2.27
      jquery-detached: 1.2.1
      jquery: 1.12.4-1
      jsch: 0.1.55.2
      junit-attachments: 1.6
      junit: 1.49
      kpp-management-plugin: 1.0.0
      ldap: 2.6
      lockable-resources: 2.10
      log-parser: 2.1
      mailer: 1.34
      mapdb-api: 1.0.9.0
      matrix-auth: 2.6.6
      matrix-project: 1.18
      maven-plugin: 3.10
      mercurial: 2.14
      momentjs: 1.1.1
      nexus-jenkins-plugin: 3.11.20210420-142258.bdfc332
      pam-auth: 1.6
      parameterized-trigger: 2.40
      performance: 3.19
      persistent-parameter: 1.2
      pipeline-build-step: 2.13
      pipeline-github-lib: 1.0
      pipeline-graph-analysis: 1.10
      pipeline-input-step: 2.12
      pipeline-maven: 3.10.0
      pipeline-milestone-step: 1.3.2
      pipeline-model-api: 1.8.4
      pipeline-model-definition: 1.8.4
      pipeline-model-extensions: 1.8.4
      pipeline-multibranch-defaults: 2.1
      pipeline-rest-api: 2.19
      pipeline-stage-step: 2.5
      pipeline-stage-tags-metadata: 1.8.4
      pipeline-stage-view: 2.19
      pipeline-utility-steps: 2.7.1
      plain-credentials: 1.7
      plot: 2.1.9
      plugin-usage-plugin: 1.2
      project-description-setter: 1.2
      publish-over-cifs: 0.16
      publish-over-ssh: 1.22
      publish-over: 0.22
      pubsub-light: 1.13
      analysis-model-api: 10.0.0
      resource-disposer: 0.15
      run-condition: 1.5
      scm-api: 2.6.4
      script-security: 1.76
      sitemonitor: 0.6
      sse-gateway: 1.24
      ssh-agent: 1.22
      ssh-credentials: 1.18.1
      ssh-slaves: 1.31.5
      ssh-steps: 2.0.0
      ssh: 2.6.1
      ssh2easy: 1.4
      structs: 1.22
      subversion: 2.14.0
      thinBackup: 1.10
      timestamper: 1.12
      token-macro: 2.15
      trilead-api: 1.0.13
      openshift-sync: 1.0.46
      versionnumber: 1.9
      windows-slaves: 1.7
      workflow-aggregator: 2.6
      workflow-api: 2.42
      workflow-basic-steps: 2.23
      workflow-cps-global-lib: 2.18
      workflow-cps: 2.90
      workflow-durable-task-step: 2.38
      workflow-job: 2.40
      workflow-multibranch: 2.23
      workflow-scm-step: 2.12
      workflow-step-api: 2.23
      workflow-support: 3.8
      ws-cleanup: 0.39
      zentimestamp: 4.2
      h2-api: 1.4.199
      jacoco: 3.1.1
      scmskip: 1.0.3
      sonar: 2.13
      blueocean-rest: 1.24.6
      extensible-choice-parameter: 1.7.0
      warnings-ng: 9.0.1
      kubernetes-client-api: 4.13.3-1
      pipeline-github: 2.7
      kubernetes-credentials: 0.8.0
      forensics-api: 1.0.0
      blueocean-commons: 1.24.6
      metrics: 4.0.2.7
      google-oauth-plugin: 1.0.5
      kubernetes: 1.29.4
      monitoring: 1.87.0
      plugin-util-api: 2.1.0
      jjwt-api: 0.11.2-9.c8b45b8bb173
      echarts-api: 5.1.0-2
      oauth-credentials: 0.4
      variant: 1.4
      openshift-client: 1.0.34
      font-awesome-api: 5.15.2-2
      jquery3-api: 3.6.0-1
      popper-api: 1.16.1-2
      bootstrap4-api: 4.6.0-3
      data-tables-api: 1.10.23-3
      saml: 2.0.3
      google-play-android-publisher: 4.1
      snakeyaml-api: 1.27.0
      checks-api: 1.7.0
      scm-filter-branch-pr: 0.5.1
      github-scm-trait-notification-context: 1.1
      disable-github-multibranch-status: 1.2
      Office-365-Connector: 4.14.0
      mysql-api: 8.0.16
      view-job-filters: 2.3
      okhttp-api: 3.14.9

            Unassigned Unassigned
            timtk Tim
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: