Jump to content

Search the Community

Showing results for tags 'jenkins'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Plastic SCM
    • General
    • Installation and configuration
    • Unity 3D
    • 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

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 8 results

  1. 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
  2. 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}" } } }
  3. 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
  4. 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.
  5. 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
  6. Hello. This is Gihong Kim I have a problem with plastic scm jenkins plug-in i maked source update job with plug-in ------------------------------------------------ rep "repo1@abc.com:8087" path "/" smartbranch "/main" ------------------------------------------------ But, I pressed build button, the job has shown me some error ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Enter credentials to connect to server [abc.com:8087] User: Password: Enter credentials to connect to server [abc.com:8087] User: Password: Enter credentials to connect to server [abc.com:8087] User: Password: Error: Cannot read keys when either application does not have a console or when console input has been redirected from a file. Try Console.Read. FATAL: Executable returned an unexpected result code [1] ERROR: null Finished: FAILURE ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- At Local PC, Every PSCM's functions work well ( make workspace, switch ...) but jenkins NOT... I will waiting your solution. Regards Gihong Kim
  7. 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
  8. Hi, We have setup a Jenkins CI server to build our projects daily, and we don't want Jenkins to build a project daily if it has no SCM changes since the last build. We used to add "Multijob Plugin" which can run parametized builds with the option "Build only if SCM changes". However, this plugin sometimes seems not to work, and we don't know why (seems to be a deadlock on the master node), and we came back to "classic" job. This job doesn't have any parameter to make Jenkins build only if there are SCN changes. Would it be possible for you Plastic guys to add this feature to your Jenkins plugin ? I guess it would be available only is "Use update" parameter is selected. Thanks for your support Mcsime
×
×
  • Create New...