Jump to content

Search the Community

Showing results for tags 'jenkins'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Plastic SCM
    • General
    • Installation and configuration
    • Unity 3D
    • Unreal Engine
    • Plastic SCM on Mac
    • Plastic SCM on Linux
    • Gluon
    • Git interop
    • Integrations
    • Community Edition
    • Branching and merging
    • Announcements
  • Plastic SCM 4.0 Beta (Closed)
  • Plastic Cloud
    • General
    • Configuration
  • SemanticMerge
    • General
    • License
    • SCM's configuration
    • Share your experience!
    • External Parsers
  • GitJungle
  • Method History for Subversion
  • PlasticX Early Adopter Program's General Feedback
  • PlasticX Early Adopter Program's Issue Reporting
  • PlasticX Early Adopter Program's Feature Requests
  • PlasticX Early Adopter Program's Announcements

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 7 results

  1. Hey there. I currently have a job configured on Jenkins to poll a single branch for changes, then of course checkout the changes and run the job as you'd expect. However I want the job to run on every branch that has changes, not just a specific one. How can I achieve this? Much thanks.
  2. Hi, I'm trying to integrate Plastic SCM Cloud with Jenkins. When adding path to command line executable, it fails check and gives 404 error. Manage Jenkins>Configure System: Manage Jenkins>Global Tool Configuration:
  3. Hello, I'm starting using mergebot and I'm having some issues configuring Jira and Jenkins Plugs They disconnect themself every time 30 sec after lauching them. For Jira I'm using Jira Cloud so instead of the password I'm using the API Token and the mail of my Jira account And for Jenkins I'm using an account that i have created especially for Plastic Do you have any idea what am i'm doing wrong or how can i solve this ? BR, Joevin Ferret
  4. The environment variables listed on the Jenkins plugin page return null for me in pipelines (https://plugins.jenkins.io/plasticscm-plugin/#documentation). They are null in both the stage where I do my cm call and other stages. I'm new to Jenkins Pipelines so I'm not sure if there is something simple that I'm missing. stage('Update Repository') { steps { cm( branch: '/main', repository: "${PLASTICSCM_TARGET_REPOSITORY}", server: 'mycompany@cloud', cleanup: 'STANDARD', directory: 'win64' ) echo "${env.PLASTICSCM_CHANGESET_GUID}" echo "${env.PLASTICSCM_AUTHOR}" } } stage('Check variables') { steps { script { echo "${env.PLASTICSCM_CHANGESET_GUID}" echo "${env.PLASTICSCM_AUTHOR}" } } }
  5. Heya! I'm currently researching how to do Build Automation with Plastic Cloud edition. I've started out trying to integrate it with Jenkins to build a unity game. I'm using the plugin you provided for Jenkins. For simplicity's sake I'm simply testing on my Windows desktop machine. The first issue I encountered was that it seems to look in the wrong place for the client config. It was looking in "C:\WINDOWS\system32\config\systemprofile\AppData\Local\plastic4\client.conf" while my config is in the default generated location in AppData. By copying my client config to the path it was looking in I was able to bypass this. The next issue I encountered was when I attempted to download from the cloud via Jenkins. We use an encrypted cloud, so it got stuck in an infinite loop asking for the encryption key. Is there any way to use your plugin while also providing an encryption key? Currently I've switched to testing with a local repository - and it works fine, but it would be nice to use the repo which is 100% up to date. While on the topic of Cloud & Integration, is there any way to setup hooks/polling so I can setup some responsive build automation? I've attached the Jenkins execution logs from both my failed runs. Thanks in advance! error-config.txt error-encryption.txt
  6. Hello, I have tow questions : 1- Is there a way to add on an external tool called from a changeset, the branch it depends on? Or to retrieve it from the command line? I have the following setup on externaltools.conf : branch | Create new build | "<path to the exe>" | "branch=@object&repository=@repository" changeset | Create new build | "<path to the exe>" | "changeset=@object&repository=@repository" This will call a custom tool I wrote in C# to start builds on our Jenkins. The arguments for this tool will be used to pre-fill the plastic related stuff. I already implement an argument less version that retrieve repositories, branches and changesets using the CmdRunner found here : https://www.plasticscm.com/documentation/cmdrunner/plastic-scm-version-control-cmdrunner-guide. So if it's not possible to have the branch on the external tool command line, I still have the possibility to do it from the command line, but I don't know witch command to use. 'find' ? 2- On the jenkins plugins, is there a way to specify a changeset to update the build's workspace to? I have a Jenkins server with the Plastic plugin (version 2.20) and when I trigger a build I use some variables to update the selector with the right values. The current selector looks like this : repository "%REPOSITORY%" path "/" smartbranch "%BRANCH%" Where REPOSITORY and BRANCH are the variable used. But I don't see any information to update to a selected changeset. Is this even possible? I know it can be done in command line, but it will be easier to do it directly with the plugin. Do not hesitate to tell me if you want more information.
  7. Hi, I have noticed that when you sync repositories, the changeset numbers no not necessarily match up on the different servers. At first this was just an annoyance due to using Plastic for 3 years (without replication) prior to this point and getting very used to using CS numbers to discuss work in the depot and also as the main descriptor in automation tools. However I now have a use case which is a little more than annoying. First of all, to discuss the setup in case that has any bearing on it. Our central repository is in the Plastic Cloud. Our distributed team do a mix of connecting directly or setting up a sync view locally. Personally I have two separate servers syncing against the cloud server, one on my development machine, the other on my CI system. I have chosen to use the standard rather than the cloud edition for both of these. My two replicated repositories have differing CS numbers than on the cloud and also different from each other. It's never been more than about +/- 3 numbers, but different. My CI system is Jenkins based and the pipeline uses smartbranch to identify and sync on the correct branch/CS number using "smartbranch "%BRANCH%" changeset "%CS%"". I don't think there is another way to do this? Therefore in my CI system I need to ultimately work with CS numbers. For CI tasks this is not an issue as the system uses it's own replicated view of the Plastic server in isolation so can just use the numbers that it sees and everything is fine. The issue comes when people want to interact with the CI system. One issue is that it can be confusing to the user when a job is described by it's CS number and that does not match up with what they see in Plastic. For this issue, I am thinking that I will have to drop using the CS number completely in reports that are generated by the CI system and instead just use the comment from that CS? This will make it a lot harder for users to identify what CS a job was built against. Is there not some other globally consistent identifier for a CS? I have considered labels but I think that could end up very messy as we would end up with a lot of them. However my real problem is when users want to request that the build system perform a special build for them. How do they identify the CS that they want building? They will have no way of knowing what CS number is being used on the (invisible from them) local Plastic server in the CI system. I'm thinking that I will have to take the name of the server that they are referencing the CS number against and then somehow look-up what the equivalent CS number is on the replicated server in the CI system? Is this even possible? If someone is able to shed some light on this, it would be much appreciated. Thanks, Kieran
  • Create New...