McSime Posted February 17, 2017 Report Share Posted February 17, 2017 Hi, I would like to identify my builds with Jenkins using the last changeset ID according to the current branch selector. There is the CHANGE_ID environment variable available in Jenkins, but it doesn't seem that the Plastic SCM Plugin supports it. I initaly wanted to use the BUILD_DISPLAY_NAME from the job itself, but as I need to build with Unity on a Mac and on a PC, I must use a common ID. Thank you for your help, Maxime Link to comment Share on other sites More sharing options...
McSime Posted February 22, 2017 Author Report Share Posted February 22, 2017 Hello, Up Thank you, Maxime Link to comment Share on other sites More sharing options...
manu Posted February 24, 2017 Report Share Posted February 24, 2017 Hello Maxime, I'm afraid those environment variables will not match the changeset id used, you can add a user voice idea so we can implement it if it has enough traction: https://plasticscm.uservoice.com/forums/15467-general Now what you can do is from the build, access the Plastic SCM workspace and execute "cm status --nochanges", that's going to give you the info you need. Hope it helps. Link to comment Share on other sites More sharing options...
McSime Posted February 24, 2017 Author Report Share Posted February 24, 2017 Hello Manu, Thank you very much for your answer, I will add an user voice, and in the mean time, find a work around with the command ! Automation <3 Maxime Link to comment Share on other sites More sharing options...
manu Posted February 24, 2017 Report Share Posted February 24, 2017 Great! If you need help with the workaround let us know it! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.