Misieq Posted May 8, 2018 Author Report Share Posted May 8, 2018 On 4/25/2018 at 11:17 AM, manu said: Hi @Misieq, this one was also requested by you so please don't hesitate to contact us for feedback. Best, Manu. Just noticed that it's released. Will test and let you know in next few days Link to comment Share on other sites More sharing options...
Misieq Posted May 10, 2018 Author Report Share Posted May 10, 2018 Not working for me :( Fresh pipeline Single workspace configuration. No PlasticSCM workspace yet. In Console Output log I can see: Quote Started by user XXX ERROR: null Finished: FAILURE In Jenkins command line following info is displayed: Quote ←[0m←[33mMay 10, 2018 10:45:28 AM com.codicesoftware.plugins.hudson.PlasticTool execute WARNING: The cm command 'cat' failed. Retrying after 500 ms... (1) I tried to create PlasticSCM workspace manually but result is the same (directly in Jenkins Workspace folder) When I checked Multiworkspace checkbox, added only one workspace result is different and manually created PlasticSCM workspace (as subdirectory in Jenkins workspace) Quote Started by user XXX Obtained YYY/Jenkinsfile from repository "XXXX@ZZZZZ:8087" path "/" smartbranch "/dev" Running in Durability level: MAX_SURVIVABILITY[Pipeline] End of Pipeline java.lang.NullPointerException: Cannot invoke method substring() on null object at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:91) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:48) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:35) ... Link to comment Share on other sites More sharing options...
manu Posted May 10, 2018 Report Share Posted May 10, 2018 Hi @Misieq, Is this a new job/pipeline? do you mind sharing with us screenshots of the configuration you use? Just to double check, you are using the latest Plastic SCM release with the latest Jenkins plugin, right? Can you confirm the versions as well? Link to comment Share on other sites More sharing options...
Misieq Posted May 10, 2018 Author Report Share Posted May 10, 2018 Honestly speaking I performed two tests: 1) I have Pipeline which is working fine but it's configured with "Pipeline script" option. I stored script in repository and tried to reconfigure it to "Pipeline script from SCM" 2) Created fresh Pipeline and tried to configure it as "Pipeline script from SCM". Please provide me your e-mail. I will send your screenshots - just tell me which parts of configuration you are interested in. I also confirm that latest version of PlasticSCM client and PlasticSCM plugin are used. Link to comment Share on other sites More sharing options...
manu Posted May 10, 2018 Report Share Posted May 10, 2018 You can send the information to support at codicesoftware dot com. We basically need all the pipeline creation steps in order to see if we are missing something. Please reference this forum thread. Thank you! Link to comment Share on other sites More sharing options...
Wodzu Posted June 4, 2018 Report Share Posted June 4, 2018 Hello I wanted to second Johan Ung question about support for multibranch? Could you guys tell me if multibranch is supported or not. By multibarnch I mean automatic detection of new branches and deletion of the ones that are no longer present. When I create a new pipeline and I am selecting "Branch Sources" I do not see Plastic SCM entry: https://postimg.cc/image/p3bg05q4b/ I can only pick "Single repository & branch" and there access Plastic SCM but this gives me... single branch... and I want to have multiple branches. Thanks for your answer. Link to comment Share on other sites More sharing options...
manu Posted June 7, 2018 Report Share Posted June 7, 2018 Hello @Wodzu, I'm afraid the multibranch feature is not supported but in one month or so we will be releasing something much much better that will of course support not only multibranch tracking but also a smarter, customizable and more powerful Jenkins integration. Keep tuned! Link to comment Share on other sites More sharing options...
Misieq Posted June 19, 2018 Author Report Share Posted June 19, 2018 After deeper investigation I have spotted and issue in my Jenkinsfile (I tried to use the same as the one for Multibranch Pipeline at Git) - it was not an issue with PlasticSCM. After corrections of groovy script it looks to be working fine. Perfect. BTW what is a location of lightweight Jenkinsfile checkout? Could be helpful for debug You made me very curious with your last post. I am very interested in Multibranch support you mentioned. Hopefully this will be closer to "one month" rather than to "so" Link to comment Share on other sites More sharing options...
manu Posted June 20, 2018 Report Share Posted June 20, 2018 23 hours ago, Misieq said: it was not an issue with PlasticSCM 23 hours ago, Misieq said: You made me very curious with your last post. I am very interested in Multibranch support you mentioned. Hopefully this will be closer to "one month" rather than to "so" Hehehe we will see Keep tuned! Link to comment Share on other sites More sharing options...
Misieq Posted June 20, 2018 Author Report Share Posted June 20, 2018 I will Just one option which I am missing in Multibranch for Git. In contrary to GIT in PlasticSCM finished task branches are not deleted (it is not even possible to delete them). So it should be possible to define additional condition for Multibranch (e.g. last commit date) which will allow Jenkins branch indexer remove finished branches. Additional observation which I have is that GIT plugin always executes builds for each commits in the branch. So if 3 commits are added during build (and concurrent builds are disabled) than three builds in row are quued. In case of longer builds (in my projects it usually takes around 15-20 minutes) I would prefer to just jump to last commit/changset - skipping up to 5 builds is not an issue for me (even if one these commits introduced a bug - it is pretty limited set to investigate). Link to comment Share on other sites More sharing options...
manu Posted June 27, 2018 Report Share Posted June 27, 2018 Hi Misieq! we'll take that into account As you may know deleting branches in Plastic SCM is not possible. We don't modify the repository history. Link to comment Share on other sites More sharing options...
Misieq Posted September 12, 2018 Author Report Share Posted September 12, 2018 Hi @manu Any news about MultiBranch Pipeline? It's already been around 2 months since last info Link to comment Share on other sites More sharing options...
calbzam Posted September 14, 2018 Report Share Posted September 14, 2018 Hi, Regarding the last Jenkins plugin features: - Added support to SCM environment variables for pipelines. Now, you can check the available ones here: https://<your-jenkins>/env-vars.html Version 2.19 https://wiki.jenkins.io/display/JENKINS/PlasticSCM+Plugin - A new MergeBot plugin: http://blog.plasticscm.com/2018/09/mergebot-story-of-our-devops-initiative.html https://wiki.jenkins.io/display/JENKINS/PlasticSCM+MergeBot+plugin Regards, Carlos. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.