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

SQLPlus Script Runner 1.0.1 - "file script" will not run + other issues...

    XMLWordPrintable

Details

    Description

      #1 When using the "File Script" option, the build will hang and never finishes. The same job used to run in version 1.0.0 (with ORACLE_HOME injected to build environment).

      #2 When using the "File Script" option, if "User Defined Script" is populated. the user defined script is ran, instead of the "File Script".

      #3 When using "User Defined Script" option, works fine.

      Attachments

        Activity

          Hi Alex,

          This is a fixed version , please give it a try before I publish it.

          boaglio Fernando Boaglio added a comment - Hi Alex, This is a fixed version , please give it a try before I publish it.

          Code changed in jenkins
          User: Fernando Boaglio
          Path:
          src/main/java/org/jenkinsci/plugins/sqlplusscriptrunner/SQLPlusRunner.java
          http://jenkins-ci.org/commit/sqlplus-script-runner-plugin/69b94179dc725bf99444eef1c94303cf095b3e73
          Log:
          JENKINS-32286 fix

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Fernando Boaglio Path: src/main/java/org/jenkinsci/plugins/sqlplusscriptrunner/SQLPlusRunner.java http://jenkins-ci.org/commit/sqlplus-script-runner-plugin/69b94179dc725bf99444eef1c94303cf095b3e73 Log: JENKINS-32286 fix
          chitownalex alex chan added a comment - - edited

          Hi Fernando,

          Thanks for the update. However, the job is still hanging with the 1.0.2 plugin installed. Please see the attached screenshoots.

          chitownalex alex chan added a comment - - edited Hi Fernando, Thanks for the update. However, the job is still hanging with the 1.0.2 plugin installed. Please see the attached screenshoots.

          Maybe your script doesn't have the "exit" statement.

          boaglio Fernando Boaglio added a comment - Maybe your script doesn't have the "exit" statement.
          chitownalex alex chan added a comment -

          Great! Adding the exit statement worked. This was not required in v1.0.0 though.

          chitownalex alex chan added a comment - Great! Adding the exit statement worked. This was not required in v1.0.0 though.

          Hi Alex, now with this version "exit" statement is no longer required. Please give it a try.

          boaglio Fernando Boaglio added a comment - Hi Alex, now with this version "exit" statement is no longer required. Please give it a try.

          Code changed in jenkins
          User: Fernando Boaglio
          Path:
          src/main/java/org/jenkinsci/plugins/sqlplusscriptrunner/SQLPlusRunner.java
          http://jenkins-ci.org/commit/sqlplus-script-runner-plugin/27bea86f5fd4075477da45397ac070f15bd41e05
          Log:
          JENKINS-32286 fix

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Fernando Boaglio Path: src/main/java/org/jenkinsci/plugins/sqlplusscriptrunner/SQLPlusRunner.java http://jenkins-ci.org/commit/sqlplus-script-runner-plugin/27bea86f5fd4075477da45397ac070f15bd41e05 Log: JENKINS-32286 fix

          People

            boaglio Fernando Boaglio
            chitownalex alex chan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: