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

Gitlab branch source plugin Secret token field broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • Jenkins 2.414.2, Gitlab branch source plugin 680.vc179a_1a_37915

      After some recent changes in (I assume) Gitlab branch source plugin, we start registering issues with Secret token field of plugin (it becomes empty and cannot be filled with any data). Last time (3 weeks ago) we used backup of our Jenkins instance and got everything working. This time backup didn't help - that's why I've created this issue.

       

      Webhook returns 401, Jenkins log contains "java.lang.Exception: Expecting a valid secret token".

       

      For now, our build process is broken due to webhook malfunction - any help will be appreciated.

      Link to github issue

      Plugin versions:

      docker-commons: 439.va_3cb_0a_6a_fb_29
      jdk-tool: 73.vddf737284550
      pipeline-graph-analysis: 202.va_d268e64deb_3
      script-security: 1275.v23895f409fb_d
      command-launcher: 107.v773860566e2e
      pipeline-rest-api: 2.33
      cloudbees-folder: 6.848.ve3b_fd7839a_81
      bouncycastle-api: 2.29
      docker-workflow: 572.v950f58993843
      structs: 325.vcb_307d2a_2782
      jsch: 0.2.8-65.v052c39de79b_2
      workflow-step-api: 639.v6eca_cd8c04a_a_
      scm-api: 676.v886669a_199a_a_
      workflow-api: 1283.v99c10937efcb_
      workflow-job: 1348.v32a_a_f150910e
      antisamy-markup-formatter: 162.v0e6ec0fcfcf6
      token-macro: 384.vf35b_f26814ec
      credentials: 1293.vff276f713473
      git-client: 4.5.0
      ssh-credentials: 308.ve4497b_ccd8f4
      plain-credentials: 143.v1b_df8b_d3b_e48
      git-server: 99.va_0826a_b_cdfa_d
      credentials-binding: 636.v55f1275c7b_27
      timestamper: 1.26
      build-timeout: 1.31
      workflow-support: 865.v43e78cc44e0d
      durable-task: 523.va_a_22cf15d5e0
      workflow-durable-task-step: 1289.v4d3e7b_01546b_
      matrix-project: 808.v5a_b_5f56d6966
      resource-disposer: 0.23
      git: 5.2.0
      ws-cleanup: 0.45
      gradle: 2.8.2
      ant: 497.v94e7d9fffa_b_9
      pipeline-milestone-step: 111.v449306f708b_7
      display-url-api: 2.200.vb_9327d658781
      jackson2-api: 2.15.2-350.v0c2f3f8fc595
      gitlab-plugin: 1.7.16
      ldap: 701.vf8619de9160a_
      workflow-scm-step: 415.v434365564324
      workflow-cps: 3802.vd42b_fcf00b_a_c
      mailer: 463.vedf8358e006b_
      pipeline-input-step: 477.v339683a_8d55e
      pipeline-stage-step: 305.ve96d0205c1c6
      junit: 1240.vf9529b_881428
      branch-api: 2.1128.v717130d4f816
      pipeline-stage-view: 2.33
      pipeline-build-step: 505.v5f0844d8d126
      workflow-multibranch: 756.v891d88f2cd46
      pipeline-model-api: 2.2144.v077a_d1928a_40
      pipeline-model-extensions: 2.2144.v077a_d1928a_40
      apache-httpcomponents-client-4-api: 4.5.14-208.v438351942757
      authentication-tokens: 1.53.v1c90fd9191a_b_
      email-ext: 2.102
      ssh-slaves: 2.916.vd17b_43357ce4
      pipeline-model-definition: 2.2144.v077a_d1928a_40
      build-timestamp: 1.0.3
      workflow-aggregator: 596.v8c21c963d92d
      jquery: 1.12.4-1
      role-strategy: 689.v731678c3e0eb_
      pipeline-github-lib: 42.v0739460cda_c4
      mapdb-api: 1.0.9-28.vf251ce40855d
      variant: 60.v7290fc0eb_b_cd
      matrix-auth: 3.2.1
      view-job-filters: 369.ve0513a_a_f5524
      jobConfigHistory: 1229.v3039470161a_d
      font-awesome-api: 6.4.2-1
      hipchat: 2.2.1
      workflow-basic-steps: 1042.ve7b_140c4a_e0c
      basic-branch-build-strategies: 81.v05e333931c7d
      gitlab-branch-source: 680.vc179a_1a_37915
      sshd: 3.312.v1c601b_c83b_0e
      pam-auth: 1.10
      javadoc: 243.vb_b_503b_b_45537
      subversion: 2.17.3
      active-directory: 2.33
      locale: 314.v22ce953dfe9e
      pipeline-stage-tags-metadata: 2.2144.v077a_d1928a_40
      javax-mail-api: 1.6.2-9
      javax-activation-api: 1.2.0-6
      echarts-api: 5.4.0-6
      jaxb: 2.3.8-1
      caffeine-api: 3.1.8-133.v17b_1ff2e0599
      commons-text-api: 1.10.0-78.v3e7b_ea_d5a_fe1
      gitlab-api: 5.3.0-91.v1f9a_fda_d654f
      extended-read-permission: 53.v6499940139e5
      data-tables-api: 1.13.6-5
      jnr-posix-api: 3.1.18-1
      simple-theme-plugin: 160.vb_76454b_67900
      handy-uri-templates-2-api: 2.1.8-22.v77d5b_75e6953
      plugin-util-api: 3.4.0
      snakeyaml-api: 2.2-111.vc6598e30cc65
      trilead-api: 2.84.v72119de229b_7
      jakarta-mail-api: 2.0.1-3
      login-theme: 78.vc3f59c35b_69d
      bootstrap5-api: 5.3.2-1
      jquery3-api: 3.7.1-1
      next-build-number: 1.8
      jersey2-api: 2.40-1
      versioncolumn: 210.v94a_dca_868138
      shelve-project-plugin: 3.2
      checks-api: 2.0.2
      lockable-resources: 1185.v0c528656ce04
      ionicons-api: 56.v1b_1c8c49374e
      external-monitor-job: 215.v2e88e894db_f8
      jakarta-activation-api: 2.0.1-3
      mina-sshd-api-common: 2.10.0-69.v28e3e36d18eb_
      mina-sshd-api-core: 2.10.0-69.v28e3e36d18eb_
      instance-identity: 173.va_37c494ec4e5
      commons-lang3-api: 3.13.0-62.v7d18e55f51e2
      pipeline-groovy-lib: 689.veec561a_dee13
      

        1. gitlab-branch-source-honors-my-secret-text-credentials.png
          26 kB
          Mark Waite
        2. image-2023-10-11-10-48-20-433.png
          124 kB
          Konstantin Grammatikati
        3. image-2023-10-11-11-20-58-020.png
          27 kB
          Konstantin Grammatikati
        4. image-2023-10-11-12-06-38-762.png
          80 kB
          Konstantin Grammatikati
        5. image-2023-10-11-12-07-38-138.png
          45 kB
          Konstantin Grammatikati
        6. изображение_2023-10-09_110732416.png
          58 kB
          Konstantin Grammatikati
        7. изображение_2023-10-09_111002657.png
          155 kB
          Konstantin Grammatikati

            Unassigned Unassigned
            stikus Konstantin Grammatikati
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: