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

No Wrappers if RVM is defined in Job DSL

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I found this regression on Ubuntu 14, OpenJDK 1.8, Jenkins 2.17. All the wrappers disappeared from all of my job where i used rvm.
      I tried to roll back Rvm plugin to 0.4, job-dsl to 1.47 and jenkins to 2.16.

      When nothing helped i installed fresh 2.7.2 and ran DSL there. Same problem, if one of wrappers is RVM - no wrappers are used in the job.
      Both times i checked the XML, and wrappers were there.
      If i define RVM in UI - everything is OK.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Daniel Spilker
            Path:
            docs/Home.md
            docs/Migration.md
            job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/helpers/wrapper/WrapperContext.groovy
            job-dsl-core/src/test/groovy/javaposse/jobdsl/dsl/helpers/wrapper/WrapperContextSpec.groovy
            http://jenkins-ci.org/commit/job-dsl-plugin/8dc6921a7840e80184602bf2c7fe0d2be8198c40
            Log:
            fixed compatibility with Ruby Runtime Plugin

            [FIXED JENKINS-37422]

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Spilker Path: docs/Home.md docs/Migration.md job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/helpers/wrapper/WrapperContext.groovy job-dsl-core/src/test/groovy/javaposse/jobdsl/dsl/helpers/wrapper/WrapperContextSpec.groovy http://jenkins-ci.org/commit/job-dsl-plugin/8dc6921a7840e80184602bf2c7fe0d2be8198c40 Log: fixed compatibility with Ruby Runtime Plugin [FIXED JENKINS-37422]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Daniel Spilker
            Path:
            docs/Home.md
            docs/Migration.md
            job-dsl-api-viewer/src/assets/javascripts/App.js
            job-dsl-api-viewer/src/assets/javascripts/Dsl.js
            job-dsl-api-viewer/src/assets/javascripts/Settings.js
            job-dsl-api-viewer/src/assets/javascripts/templates/detail.hbs
            job-dsl-api-viewer/src/assets/javascripts/views/HomeView.js
            job-dsl-api-viewer/src/assets/javascripts/views/TreeView.js
            job-dsl-api-viewer/src/assets/stylesheets/main.less
            job-dsl-core/src/ast/groovy/javaposse/jobdsl/dsl/transform/PluginASTTransformation.groovy
            job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/RequiresPlugins.java
            job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/doc/ApiDocGenerator.groovy
            job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/helpers/wrapper/WrapperContext.groovy
            job-dsl-core/src/test/groovy/javaposse/jobdsl/dsl/PluginASTTransformationSpec.groovy
            job-dsl-core/src/test/groovy/javaposse/jobdsl/dsl/helpers/wrapper/WrapperContextSpec.groovy
            http://jenkins-ci.org/commit/job-dsl-plugin/b7d9b8084580b74363e50df9bbfb5dc2f4ca3f3e
            Log:
            Merge pull request #906 from daspilker/JENKINS-37422

            JENKINS-37422 fixed compatibility with Ruby Runtime Plugin

            Compare: https://github.com/jenkinsci/job-dsl-plugin/compare/496b7eb078c7...b7d9b8084580

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Spilker Path: docs/Home.md docs/Migration.md job-dsl-api-viewer/src/assets/javascripts/App.js job-dsl-api-viewer/src/assets/javascripts/Dsl.js job-dsl-api-viewer/src/assets/javascripts/Settings.js job-dsl-api-viewer/src/assets/javascripts/templates/detail.hbs job-dsl-api-viewer/src/assets/javascripts/views/HomeView.js job-dsl-api-viewer/src/assets/javascripts/views/TreeView.js job-dsl-api-viewer/src/assets/stylesheets/main.less job-dsl-core/src/ast/groovy/javaposse/jobdsl/dsl/transform/PluginASTTransformation.groovy job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/RequiresPlugins.java job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/doc/ApiDocGenerator.groovy job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/helpers/wrapper/WrapperContext.groovy job-dsl-core/src/test/groovy/javaposse/jobdsl/dsl/PluginASTTransformationSpec.groovy job-dsl-core/src/test/groovy/javaposse/jobdsl/dsl/helpers/wrapper/WrapperContextSpec.groovy http://jenkins-ci.org/commit/job-dsl-plugin/b7d9b8084580b74363e50df9bbfb5dc2f4ca3f3e Log: Merge pull request #906 from daspilker/ JENKINS-37422 JENKINS-37422 fixed compatibility with Ruby Runtime Plugin Compare: https://github.com/jenkinsci/job-dsl-plugin/compare/496b7eb078c7...b7d9b8084580
            Hide
            daspilker Daniel Spilker added a comment -

            ruby-runtime 0.13 seems to be broken, any ruby-runtime based config does not survive a restart.

            Show
            daspilker Daniel Spilker added a comment - ruby-runtime 0.13 seems to be broken, any ruby-runtime based config does not survive a restart.
            Hide
            techwolf12 Christiaan de Die le Clercq added a comment -

            It took a long time to figure out why I kept losing my configuration. After downgrading to 0.12 it worked again.

            Show
            techwolf12 Christiaan de Die le Clercq added a comment - It took a long time to figure out why I kept losing my configuration. After downgrading to 0.12 it worked again.
            Hide
            daspilker Daniel Spilker added a comment -

            This should work now with ruby-runtime 0.12 and job-dsl 1.57. ruby-runtime 0.13 is no longer available in the Update Center.

            Show
            daspilker Daniel Spilker added a comment - This should work now with ruby-runtime 0.12 and job-dsl 1.57. ruby-runtime 0.13 is no longer available in the Update Center.

              People

              • Assignee:
                daspilker Daniel Spilker
                Reporter:
                burdandrei Andrei Burd
              • Votes:
                1 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: