[JIRA] [unity3d-plugin] (JENKINS-27738) Build does not stop when build step is over

133 views
Skip to first unread message

charles.bouchard-legare@frimastudio.com (JIRA)

unread,
Apr 3, 2015, 2:01:27 PM4/3/15
to jenkinsc...@googlegroups.com
Issue Type: Bug Bug
Assignee: lacostej
Components: unity3d-plugin
Created: 03/Apr/15 6:00 PM
Description:

Build does not stop when Unity has successfully done its job.

I have two Unity3d build steps with the following options:

  • -batchmode -projectPath "${WORKSPACE}" -executeMethod Some.Really.Nice.Method.Preparing.The.Build -logFile "${WORKSPACE}/Settings-Log.txt" -quit
  • -batchmode -projectPath "${WORKSPACE}" -executeMethod Some.Really.Nice.Method.Building.A.Game -logFile "Build-Log.txt" -quit

Everything works fine but when the second job is over (success!) the Jenkins job does not stop and continue forever.

Environment: Jenkins 1.607
Unity3d plugin 0.6
Unity 5.0.1f1
Slave : OSX 10.10.2 (14C1514) (Yosemite)
Project: Jenkins
Priority: Major Major
Reporter: Charles Bouchard-Légaré
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

charles.bouchard-legare@frimastudio.com (JIRA)

unread,
Apr 3, 2015, 2:01:28 PM4/3/15
to jenkinsc...@googlegroups.com

The only difference from Jenkins' point of view for these job is that the first one outputs stuff and the last one doesn't.

charles.bouchard-legare@frimastudio.com (JIRA)

unread,
Apr 3, 2015, 2:21:25 PM4/3/15
to jenkinsc...@googlegroups.com

Found it browsing fixed issues. I changed '-logFile "Build-Log.txt"' to '-logFile "${WORKSPACE}/Build-Log.txt"' and it should be OK. BTW, thanks a lot for this plugin

charles.bouchard-legare@frimastudio.com (JIRA)

unread,
Apr 3, 2015, 2:23:25 PM4/3/15
to jenkinsc...@googlegroups.com
 

EDIT : removed double post

charles.bouchard-legare@frimastudio.com (JIRA)

unread,
Apr 3, 2015, 2:23:25 PM4/3/15
to jenkinsc...@googlegroups.com
Change By: Charles Bouchard-Légaré (03/Apr/15 6:23 PM)
Status: Open Resolved
Resolution: Duplicate

charles.bouchard-legare@frimastudio.com (JIRA)

unread,
Apr 3, 2015, 2:23:25 PM4/3/15
to jenkinsc...@googlegroups.com

Found it browsing fixed issues. I changed '-logFile "Build-Log.txt"' to '-logFile "${WORKSPACE}/Build-Log.txt"' and it should be OK. BTW, thanks a lot for this plugin

This message is automatically generated by JIRA.

lacostej@java.net (JIRA)

unread,
Apr 15, 2015, 7:53:05 AM4/15/15
to jenkinsc...@googlegroups.com
lacostej commented on Bug JENKINS-27738

Charles, I wonder if you could the latest version (0.7) and your previous logFile argument to see if the job stops properly (the job might not find the log though). Thanks!

charles.bouchard-legare@frimastudio.com (JIRA)

unread,
Apr 15, 2015, 8:06:05 AM4/15/15
to jenkinsc...@googlegroups.com

Tested it and got this error, which seams the expected behavior. Thanks !

WARNING: No change detected to Editor.log path: '/Users/cblegare/Settings-Log.txt'.
       The unity3d plugin was probably unable to find it in its expected locations (see JENKINS-24265).
       Consider using the -logFile argument to force a known editor.log path or report the issue.
FATAL: Unity3d command line execution failed with status 1

lacostej@java.net (JIRA)

unread,
Apr 15, 2015, 10:08:05 AM4/15/15
to jenkinsc...@googlegroups.com
lacostej commented on Bug JENKINS-27738

Thanks. Really appreciated.

lacostej@java.net (JIRA)

unread,
Apr 15, 2015, 10:08:05 AM4/15/15
to jenkinsc...@googlegroups.com
lacostej closed Bug JENKINS-27738 as Duplicate
Change By: lacostej (15/Apr/15 2:07 PM)
Status: Resolved Closed
Reply all
Reply to author
Forward
0 new messages