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

Resolve artifacts from Artifactory - Repo options not loading after save

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • artifactory-plugin
    • None
    • Jenkins 2.235.5
      Artifactory Plugin 3.8.1

      For Freestyle or Maven projects when you enable Resolve artifacts from Artifactory you can select or specify the repos you would like to use.

      Save and build would work

      But when you configure your job AGAIN - the repositories are set to blank. So when you save/apply the build will error out.

      You have to always specify a repository every time you configure

          [JENKINS-63629] Resolve artifacts from Artifactory - Repo options not loading after save

          Yahav Itzhak added a comment -

          Update -
          This PR is created to resolve this issue - https://github.com/jfrog/jenkins-artifactory-plugin/pull/341

          Yahav Itzhak added a comment - Update - This PR is created to resolve this issue - https://github.com/jfrog/jenkins-artifactory-plugin/pull/341

          Yahav Itzhak added a comment -

          adarsh_kn vijaym mattdelros
          The fix is merged to the master branch. It will be included in the next release.
          Here is a snapshot with the fix:
          https://oss.jfrog.org/oss-snapshot-local/org/jenkins-ci/plugins/artifactory/3.8.x-SNAPSHOT/artifactory-3.8.x-20200921.093853-4.hpi

          We'd appreciate your feedback for that!

          Yahav Itzhak added a comment - adarsh_kn vijaym mattdelros The fix is merged to the master branch. It will be included in the next release. Here is a snapshot with the fix: https://oss.jfrog.org/oss-snapshot-local/org/jenkins-ci/plugins/artifactory/3.8.x-SNAPSHOT/artifactory-3.8.x-20200921.093853-4.hpi We'd appreciate your feedback for that!

          Adarsh KN added a comment -

          yahaviz this is great!

          appreciate your quick fix.

          We shall wait for the release.

          Adarsh KN added a comment - yahaviz this is great! appreciate your quick fix. We shall wait for the release.

          yahaviz Great to hear from you,

          Thank you very much for the quick action taken for the issue. Appreciate,

          Will wait for the release.

          Vijay Mummigatti added a comment - yahaviz Great to hear from you, Thank you very much for the quick action taken for the issue. Appreciate, Will wait for the release.

          cebero NA added a comment - - edited

          It seems that above snapshot plugin breaks again when upgrading jenkins to 2.249.2 LTS. The very same does-not-save-AF-configuration happens again with it. Works fine with previous 2.235.4 LTS

          Edit: installed snapshot of our prod plugins + snapshot of AF plugin to clean jenksins installation env and it didn't break there. Settings were saved correctly. So it seems this issue depends of some other configs/things as well.

          cebero NA added a comment - - edited It seems that above snapshot plugin breaks again when upgrading jenkins to 2.249.2 LTS. The very same does-not-save-AF-configuration happens again with it. Works fine with previous 2.235.4 LTS Edit: installed snapshot of our prod plugins + snapshot of AF plugin to clean jenksins installation env and it didn't break there. Settings were saved correctly. So it seems this issue depends of some other configs/things as well.

          Yahav Itzhak added a comment -

          mattdelros cebero vijaym adarsh_kn
          Jenkins Artifactory plugin 3.9.0 is released. This version includes a fix for this issue. Feel free to upgrade!
          We'd appreciate your feedback for that.

          Yahav Itzhak added a comment - mattdelros cebero vijaym adarsh_kn Jenkins Artifactory plugin 3.9.0 is released. This version includes a fix for this issue. Feel free to upgrade! We'd appreciate your feedback for that.

          Adarsh KN added a comment -

          Thank you yahaviz for the update. I just updated the plugin and check to be working as expected. thanks again for the fix.

          Adarsh KN added a comment - Thank you yahaviz for the update. I just updated the plugin and check to be working as expected. thanks again for the fix.

          Thankyou very much yahaviz for this update. Plugin is working as expected.

          Vijay Mummigatti added a comment - Thankyou very much  yahaviz for this update. Plugin is working as expected.

          yahaviz yes I can also confirm that the fix packaged with the latest release fixes the issue. THANKS!

          JM Del Rosario added a comment - yahaviz yes I can also confirm that the fix packaged with the latest release fixes the issue. THANKS!

          Adarsh KN added a comment -

          comments from Yahav Itzhak "Jenkins Artifactory plugin 3.9.0 is released. This version includes a fix for this issue. Feel free to upgrade!
          We'd appreciate your feedback for that."

          Adarsh KN added a comment - comments from Yahav Itzhak "Jenkins Artifactory plugin 3.9.0 is released. This version includes a fix for this issue. Feel free to upgrade! We'd appreciate your feedback for that."

            yahaviz Yahav Itzhak
            mattdelros JM Del Rosario
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: