Search Unity

Unity 2017.2 broke Jenkins builds

Discussion in 'Editor & General Support' started by BonsaTech, Oct 23, 2017.

  1. BonsaTech

    BonsaTech

    Joined:
    Dec 22, 2015
    Posts:
    73
    Hi,

    I´ve reported the bug 961722 because Unity 2017.2 broke the Jenkins builds.

    Unity 5.6: works fine
    Unity 2017.1: works fine
    Unity 2017.2: error
    Unity 2017.3: error

    This is the error message:

    Scripts have compiler errors.
    (Filename: C:\buildslave\unity\build\Runtime/Utilities/Argv.cpp Line: 224)

    It´s not really useful, but I´m sure that devs will find useful the bug repro project.

    Let me know if this post should be moved to another section, please.
     
  2. Deleted User

    Deleted User

    Guest

    You could have at least tried to find something in the editor log. ;)

    Since we are having the same issue and I just wanted to post one here the problematic lines:

    Code (CSharp):
    1. -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/Assembly-CSharp-firstpass.dll
    2. Compilation failed: 2 error(s), 0 warnings
    3. -----CompilerOutput:-stderr----------
    4. error CS0006: Metadata file `C:/WINDOWS/system32/config/systemprofile/AppData/LocalLow/Unity/cache/packages/packages.unity.com/com.unity.analytics@1.0.1/UnityEngine.Analytics.dll' could not be found
    5. error CS0006: Metadata file `C:/WINDOWS/system32/config/systemprofile/AppData/LocalLow/Unity/cache/packages/packages.unity.com/com.unity.purchasing@1.0.1/UnityEngine.Purchasing.dll' could not be found
    6. -----EndCompilerOutput---------------
    7. - Finished compile Library/ScriptAssemblies/Assembly-CSharp-firstpass.dll
    8. error CS0006: Metadata file `C:/WINDOWS/system32/config/systemprofile/AppData/LocalLow/Unity/cache/packages/packages.unity.com/com.unity.analytics@1.0.1/UnityEngine.Analytics.dll' could not be found
    9. error CS0006: Metadata file `C:/WINDOWS/system32/config/systemprofile/AppData/LocalLow/Unity/cache/packages/packages.unity.com/com.unity.purchasing@1.0.1/UnityEngine.Purchasing.dll' could not be found
    Edit:
    So I just fixed it by changing the user jenkins uses.

    http://antagonisticpleiotropy.blogspot.de/2012/08/running-jenkins-in-windows-with-regular.html

    I still would prefer if I could define the cache folder.
     
    Last edited by a moderator: Oct 24, 2017
    rjkward likes this.
  3. dmontesdeocaSMK

    dmontesdeocaSMK

    Joined:
    Dec 16, 2016
    Posts:
    10
    That fix works!
     
  4. rjkward

    rjkward

    Joined:
    Feb 24, 2017
    Posts:
    5
  5. ariessanchezsulit

    ariessanchezsulit

    Joined:
    Apr 3, 2017
    Posts:
    6
    Hi, can you elaborate what's needed to be done in here? I can't seem to find that Jenkins Properties window.
     
  6. rjkward

    rjkward

    Joined:
    Feb 24, 2017
    Posts:
    5
    You need to go to the Services app in Windows and find the entry for Jenkins.
     
  7. ariessanchezsulit

    ariessanchezsulit

    Joined:
    Apr 3, 2017
    Posts:
    6
    Hi, Yes found it. it's in the services.msc of Windows. Thanks