[go-cd] Re: PATH not honoured

2024-07-08 Thread Jason Smyth
of course that doesn't mean that such a use case doesn't exist. Hope this helps. Cheers, Jason Smyth On Monday 8 July 2024 at 08:53:41 UTC-4 Pablo León wrote: > Hi, > > I have configured a PATH environment variable in my pipeline, > I see an "overriding environment variable

Re: [go-cd] Assign Administrator Permissions to Role Without Manually Modifying cruise-config.xml

2024-06-03 Thread Jason Smyth
ectly >> delegated to roles such that the super-admin permissions are much less >> necessary than earlier, and perhaps less necessary to map to roles >> frequently. I believe it at least supports environments/cluster >> profiles/elastic profiles/pipeline groups. >> >>

[go-cd] Managing Pipeline Permissions for Multiple Pipeline Groups

2024-05-31 Thread Jason Smyth
Hi everyone, We are working on upgrading from GoCD 19.8.0 to the current version. One of the major changes we need to account for is the default permissions on pipeline groups. In 19.8.0, pipelines are open by default, i.e., if there are no permissions explicitly defined for a pipeline group,

[go-cd] Assign Administrator Permissions to Role Without Manually Modifying cruise-config.xml

2024-05-31 Thread Jason Smyth
Hi everyone, We are looking to improve our GoCD permissions management by using more role-based permissions. The role-based security documentation states that it is possible to add a role to the server's

RE: [go-cd] How to Configure Redundant LDAP Authorization?

2024-05-21 Thread Jason Smyth
as well. Does that seem about right? Is there anything I am mssing? Regards, Jason Smyth From: go-cd@googlegroups.com On Behalf Of Chad Wilson Sent: Friday, May 17, 2024 11:35 PM To: go-cd@googlegroups.com Subject: Re: [go-cd] How to Configure Redundant LDAP Authorization? Minor correction, it's

RE: [go-cd] How to Configure Redundant LDAP Authorization?

2024-05-17 Thread Jason Smyth
Hi Sriram, Thank you for the feedback. Do you know how the plugin handles SSL negotiation? We considered DNS round-robin but ruled it a non-starter, under the assumption that LDAPS would require that the hostname and certificate name match. Regards, Jason Smyth From: go-cd@googlegroups.com

[go-cd] How to Configure Redundant LDAP Authorization?

2024-05-17 Thread Jason Smyth
; way to set up a redundant connection to AD? Any feedback is appreciated. Regards, Jason Smyth -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+unsubscr...

[go-cd] Re: Cloning error

2024-05-05 Thread Jason Smyth
Hi Granton, This does not seem to be a GoCD error. I recommend trying to clone the repository from the agent's command line and troubleshooting any errors that Git reports outside of the GoCD processes. Hope this helps, Jason On Wednesday 1 May 2024 at 05:02:08 UTC-4 Granton Waribe wrote:

Re: [go-cd] Mount .ssh from EFS to the container (from the image gocd/gocd-server:v22.3.0)

2024-05-05 Thread Jason Smyth
Hi Satya, A possible workaround to the limitation is updating the server image and adding a symlink that points ~/.ssh/ to wherever you want to actually mount the data. I have never experimented with using a symlink for the .ssh directory, though, so this may not work. Hope this helps, Jason

Re: [go-cd] issues loading cruise-config.xml on gocd version 23.4

2023-11-11 Thread Jason Smyth
rom that plugin's output. Given the error message at the bottom of the log trace, though, I do not believe the issue is with any of these plugins. Rather, the issue seems to stem from a change in GoCD itself. Hope this helps, Jason Smyth On Friday, 10 November 2023 at 17:03:29 UTC-5 sjagan...@mdsol.

[go-cd] Re: upgrade gocd issue

2023-11-11 Thread Jason Smyth
iour would have changed from GoCD version 21.2 to 23.3, but I recommend looking at your job definitions to see if they need to be restructured to properly pass the instructions to the agent. Hope this helps, Jason Smyth On Thursday, 9 November 2023 at 22:00:38 UTC-5 sjagan...@mdsol.com wr

Re: [go-cd] About multiple go agent

2023-09-12 Thread Jason Smyth
Hi Vijay, I don't think your use case is clear here. Do you want 1 agent container running multiple instances of the agent process? Or multiple agents, each running in their own container? The latter should be fairly straight forward by updating the Docker Compose file to spin up multiple

[go-cd] Re: Gocd dashboard issue

2023-08-02 Thread Jason Smyth
Hi there, Have you triggered a new instance of the pipeline since adding the new stage? It's possible that the Dashboard is showing a representation of the pipeline as it existed when that instance was created. Hope this helps, Jason On Wednesday, 2 August 2023 at 08:52:35 UTC-4

RE: [go-cd] shouldn't required resources also be at the pipeline level?

2023-07-25 Thread Jason Smyth
:39 Joshua Franta, mailto:jos...@pracplay.com>> wrote: Jason, your knowledge here is off. Parameters can be used in scripts, see a previous email I this thread that shows how it works. On Mon, Jul 24, 2023, 4:11 PM Jason Smyth mailto:jsm...@taqauto.com>> wrote: Hi Josh, I think there m

Re: [go-cd] shouldn't required resources also be at the pipeline level?

2023-07-24 Thread Jason Smyth
Hi Josh, I think there may be some confusion here regarding GoCD terminology and common concepts. > i think the main source of confusion is that I thought parameters could only be referred to in scripts! > I didn't know you could refer to them inside of other configuration properties! To the

[go-cd] Is it Possible to Export a De-Normalized Pipeline Based on Template?

2023-05-15 Thread Jason Smyth
Hi everyone, We have a GoCD instance with about 1200 pipelines, most of which are defined directly in the GoCD configuration XML file. Of the pipelines that are defined in the XML config, most are based on templates. We are trying to migrate most, if not all, pipelines into (a) configuration

[go-cd] Re: Why pipelines defined in configuration repository can not be cloned?

2023-04-24 Thread Jason Smyth
Hi there, Maybe I am missing something, but is there some reason you can't copy the file that defines the pipeline(s) in your configuration repository? Hope this helps, Jason On Monday, 24 April 2023 at 06:01:02 UTC-4 stygia...@gmail.com wrote: > I originally wanted to clone multiple

Re: [go-cd] GoCD Artifactory best pratices

2022-12-15 Thread Jason Smyth
Hi there, I think the best way to do this in GoCD is using build artifacts, pipeline materials and the Fetch Artifact task. The build pipeline should publish the artifact to Artifactory and generate a GoCD build artifact that references the Artifactory location. The QA pipeline should have

Re: [go-cd] Unable to Manage GoCD Server Process - go-server: unrecognized service

2022-08-28 Thread Jason Smyth
, process 19196 Thank you again for the hints that got me moving in the right direction. Regards, Jason Smyth On Sunday, 28 August 2022 at 05:16:11 UTC-4 ketanpad...@gmail.com wrote: > Try /etc/init.d/go-{server,agent} instead. > > On Sun, 28 Aug, 2022, 05:52 Jason Smyth, wrote: &

[go-cd] Unable to Manage GoCD Server Process - go-server: unrecognized service

2022-08-27 Thread Jason Smyth
out how to stop it so that I can do maintenance. Presumably I can reboot the server to restart the service, but I want to stop the service, not restart it. Any ideas on where we can go from here are greatly appreciated. Regards, Jason Smyth -- You received this message because you are subscrib

Re: [go-cd] VSM (Dependencies) triggering sequence issues

2022-08-27 Thread Jason Smyth
d the CI/CD principles described above say that we should deploy (and test) a change to either component inside our combined bundle. If this caveat is not acceptable for your use case(s), then this design probably won't work for you but may give you a decent jumping off point. Hope this helps, Jaso

[go-cd] Re: powershell script hung while running

2022-08-23 Thread Jason Smyth
ho) takes an object and outputs it to the >> PowerShell pipeline. By default, the pipeline's output is sent to the >> terminal, so one way to print the contents of an environment variable is to >> use the special "env" PowerShell drive: >> >> Write-Outp

[go-cd] Re: powershell script hung while running

2022-08-23 Thread Jason Smyth
is sent to the terminal, so one way to print the contents of an environment variable is to use the special "env" PowerShell drive: Write-Output -InputObject $env:COMPUTERNAME Hope this helps. Regards, Jason Smyth On Tuesday, 23 August 2022 at 08:20:09 UTC-4 makwanan...@gmail.com wrote: &

[go-cd] Re: powershell script hung while running

2022-08-22 Thread Jason Smyth
quot; mean something else in this context? Regards, Jason Smyth On Monday, 22 August 2022 at 08:30:13 UTC-4 makwanan...@gmail.com wrote: > Dear folks, > I just created a PowerShell script that just prints a hello msg but it > hugs when I execute the job > > how to rectify the

[go-cd] Re: The best SUDO strategy for agents

2022-08-16 Thread Jason Smyth
is the way to go, though? Why not build custom images (possibly based on the GoCD-provided agent images) that already include the required packages instead of installing them at run time? Cheers, Jason Smyth On Wednesday, 10 August 2022 at 13:05:25 UTC-4 meltin...@gmail.com wrote: > > Hi,

Re: [go-cd] Setting up a test server

2022-08-01 Thread Jason Smyth
believe requires using a copy of the production GoCD database? Regards, Jason Smyth On Sunday, 31 July 2022 at 12:28:01 UTC-4 timi...@gmail.com wrote: > > Thanks for the answer Ashwanth. I am wondering if there are any settings > in the production database that I would have

Re: [go-cd] Re: How to lift an app out of it's sandbox into deployment?

2022-06-30 Thread Jason Smyth
nt. Hope this helps, Jason Smyth On Wednesday, 29 June 2022 at 22:29:46 UTC-4 ketanpad...@gmail.com wrote: > This will almost certainly not fly. /home/ubuntu will also need permission > change. Adding a world writeable permission 777 is a very bad idea. I would > recommend that yo

[go-cd] Re: How to lift an app out of it's sandbox into deployment?

2022-06-29 Thread Jason Smyth
when run locally on the Agent, the Pipeline should also run without issue. Hope this helps, Jason Smyth On Wednesday, 29 June 2022 at 12:21:49 UTC-4 Chris wrote: > Hello > > I face the following issue using gocd, with my gocd agent: > > My app is containerized [docker] and n

[go-cd] Re: GoCD Agent how to copy artifact and run command on different folder (outside of agent working directory)

2022-06-26 Thread Jason Smyth
control and pull it into the Agent's sandbox at runtime. This has the added advantage of having your deployment process be less dependent on GoCD. Hope this helps, Jason Smyth On Friday, 24 June 2022 at 20:11:10 UTC-4 bahun...@gmail.com wrote: > Sorry, I missing the attachment im

[go-cd] Re: GoCD Agent how to copy artifact and run command on different folder (outside of agent working directory)

2022-06-24 Thread Jason Smyth
Hi there, It seems to be this should be fairly easy to do by simply following the documentation: https://docs.gocd.org/current/configuration/admin_add_task.html If that is not working for you, please let us know what you have tried and what errors you are encountering. Cheers, Jason Smyth

[go-cd] Re: Go CD Server - add new pipeline

2022-04-26 Thread Jason Smyth
Hi Tim, The URL tells GoCD where to find the Material. For example, the URL for a Git Material points to the location of the Git repository that the code is stored in. Hope this helps, Jason On Tuesday, 26 April 2022 at 07:45:51 UTC-4 timi...@gmail.com wrote: > Hello, I am new to Go CD and

[go-cd] Re: Cannot match any resource under pipeline(deploying terraform through gocd)

2022-04-26 Thread Jason Smyth
Hi Shymala, This error is typically caused by a disconnect between the location to which files are created on disk and the location from which GoCD expects to upload them as defined in the Artifacts section. In this case it looks like the Terraform job is creating the output file outside of

[go-cd] Re: Get env variable print out

2022-04-05 Thread Jason Smyth
Hello, As you have discovered, the command interpreter in GoCD is not a shell and does not perform environment variable substitution. You can work around this limitation by explicitly invoking a shell (e.g. bash -c "echo ${GO_STAGE_COUNTER}") but the preferred method is to save the commands

Re: [go-cd] best practices for maintaining go pipelines

2022-03-11 Thread Jason Smyth
Hi Pankaj, If you are sure that the only difference between the Pipelines is the name of the Pipeline and the name of the Git branch, you may want to look at Templates. If each developer has their own Pipeline that is based on the same Template then if and when the process (steps taken during

[go-cd] Re: Fan-In from different SCM material with deployment gate

2021-12-17 Thread Jason Smyth
Hi Joe, I think you are on the right track with your manual trigger idea. It should be pretty straight-forward to put together a simple script/program that checks every minute or 2 to see: 1. Is there a new version of BUILD-A, -B or -C? 2. Is there currently an instance of BUILD-A, -B or -C

[go-cd] Re: Need help with Gauge framework

2021-11-02 Thread Jason Smyth
Hello, Would using an Environment Variable work? You could set the variable either in GoCD at the Environment or Pipeline level, or on the Agent itself. Hope this helps, Jason On Tuesday, 2 November 2021 at 07:27:53 UTC-4 s.saw...@gmail.com wrote: > Is there a way to use CSV based on

[go-cd] Re: run bash as root in wsl

2021-09-16 Thread Jason Smyth
Hi Andy, I have never tried running Agents inside WSL (or WSL2) but my guess is that the script will run as whatever account the Go Agent service runs under. So if you want the script to run as root there are a few options: 1. Run the Go Agent service as root, 2. Grant the "go" user permission

[go-cd] Re: Exploring GoCD for bitbucket pipeline replacement

2021-08-30 Thread Jason Smyth
Hi V, Here are some thoughts on the questions you raised: 1. Configure Pipeline without Git Material. I believe GoCD requires that Pipelines have at least one Material. For the Pipeline model you describe, why not put the "pure shell script", as you describe it, into source control and then

[go-cd] Re: How to continue to next stage automatically , even if previous stage is failed

2021-08-03 Thread Jason Smyth
Hello Suman, To the best of my knowledge there is no way to do this natively in GoCD. You could probably fake it by building something that continually checks for failed Stages and triggers the next Stage when it finds one but I question why someone would want to do this. The way I tend to

Re: [go-cd] Use Container Registry as Material?

2021-07-23 Thread Jason Smyth
relevant pipeline; passing the relevant image tag etc as an environment > variable. I felt this would be less manageable, externalized even more > "glue" outside GoCD, thus more opaque and difficult to decide whether a > trigger was necessary/desirable inside such lambdas, but

[go-cd] Use Container Registry as Material?

2021-07-14 Thread Jason Smyth
for the feedback. Regards, Jason Smyth -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+unsubscr...@googlegroups.com. To view this discussion on the web vi

Re: [go-cd] Re: Pipeline failing in Go Server

2021-06-21 Thread Jason Smyth
e are trying to build android and iOS app, one of the agent is not > able to build android and the other iOS. > > 3.Yes,All the pipelines on this agents are getting failed with same error. > > Regards, > Sushma > > > On Mon, Jun 21, 2021, 9:56 PM Jason Smyth >

[go-cd] Re: Pipeline failing in Go Server

2021-06-21 Thread Jason Smyth
Hello Sushma, What errors are you seeing on the Agents? Is the error the same every time? Are both Agents failing with the same error or are the errors different? Are all Pipelines failing on these 2 Agents or just some of them? We are not likely to be able to help without more details around

[go-cd] Re: trouble in db migration as part of GOCD version upgrade running in EKS

2021-06-12 Thread Jason Smyth
Hello Gupta, Could you elaborate a bit on the specifics of your environment, what you are trying to accomplish and the challenges you are facing? Regards, Jason On Saturday, 12 June 2021 at 07:21:23 UTC-4 Gupta wrote: > Anyone can guide me with steps how to migrate db of gocd running in eks

[go-cd] Re: trouble with getting-started instructions

2021-06-12 Thread Jason Smyth
Hello, Did you check the permissions on the wrapper file referenced in the error message? Is it possible that GoCD was configured to run as an unprivileged service account that does not have permission to read the file? Regards, Jason On Saturday, 12 June 2021 at 07:14:51 UTC-4

[go-cd] Re: GoCD for Azure Deployment using Terraform

2021-06-04 Thread Jason Smyth
of how Terraform works, I would think it should be fairly trivial to write some wrapper scripts for GoCD to leverage. Hope this helps, Jason Smyth On Friday, 4 June 2021 at 08:54:46 UTC-4 phe...@gmail.com wrote: > Hello all, > > Can anybody point me to "starter" documentati

Re: [go-cd] Java LTS Support in GoCD

2021-06-02 Thread Jason Smyth
ms like you get LTS support only for paid version of Oracle JDK not > for the OpenJDK variants. > > On Wed, Jun 2, 2021, 7:39 PM Jason Smyth wrote: > >> Hi all, >> >> Based on what I read in this recent thread >> <https://groups.google.com/g/go-cd/c/Ge

[go-cd] Java LTS Support in GoCD

2021-06-02 Thread Jason Smyth
ot; version? Sorry if this is not the right place to raise this but it didn't seem appropriate to raise a GitHub Issue at this point. I would love to hear other people's thoughts on this. Regards, Jason Smyth -- You received this message because you are subscribed to the Google Gr

[go-cd] Re: Upgrading from 20.3.0 to 20.5.0

2021-03-16 Thread Jason Smyth
Hi Jo, It should be possible to upgrade from 20.3.0 to 20.5.0 directly without stepping through 20.4.0 but I recommend thoroughly reading the release notes for each version to make sure you understand what has changed at each stage. I know there were significant changes in some versions last

Re: [go-cd] how to save report at task level executed on sequence

2021-03-11 Thread Jason Smyth
Hello Sunaina, I think the easiest way to do this is probably to configure all of the Tasks to output their reports to a specific location relative to the Pipeline's working directory (e.g., ./Reports). You can then configure the Job to publish everything under ./Reports when the Job is over

Re: [go-cd] Remove pipeline directory on agent after completion

2021-03-06 Thread Jason Smyth
Hi Joel, Like Ashwanth, we also use a custom script to clean up Pipeline working directories. We run ours as a Windows Scheduled Task and leave the 5 most recent working directories. This creates an opportunity for race conditions, though, if the Agent happens to pick up a Job for a Pipeline

Re: [go-cd] Mark Ready for Release - Go Pipes

2021-01-19 Thread Jason Smyth
Hi Nitesh, You can get documentation for the APIs for your version of GoCD (17.4.0) here: https://api.gocd.org/17.4.0/#introduction. With that said, unless you have some really compelling reasons for staying on 17.4, you should probably consider upgrading to a more current version. Regards,

[go-cd] Re: Filesystem full /var/go

2020-12-18 Thread Jason Smyth
Hi Kalpesh, Unless I am missing something, this does not seem to be a GoCD question at this point. There is a server that has the role of a GoCD Agent. There is a directory on that server outside of the GoCD Agent directory that is full. The full directory appears to be the home directory of

[go-cd] Re: Empty agent list after Windows installation

2020-12-17 Thread Jason Smyth
Hi John, If there are no rows on the Agents tab, that suggests that the Agent is not able to register itself with the server. I recommend reviewing the Agent logs to identify the issue. Regards, Jason On Wednesday, 16 December 2020 at 14:50:15 UTC-5 john.laur...@gmail.com wrote: > I'm new

[go-cd] Re: Filesystem full /var/go

2020-12-16 Thread Jason Smyth
Hi Kalpesh, >From the output provided it looks like /var/go is some user's home directory. I recommend checking to see if the user "go" is still using this directory as its home directory. If it is, I recommend further analysis on the contents of the directory to determine what can be safely

Re: [go-cd] Elastic agent registration problem from Windows docker swarm plugin

2020-12-08 Thread Jason Smyth
Hi there! Glad to hear you got this sorted out. Thank you for sharing your solution with the mailing list. Regards, Jason On Tuesday, 8 December 2020 at 02:50:40 UTC-5 IXI wrote: > Finally we got solution for this. You want beleave it, but it was just > about encoding of the file. We had

[go-cd] Re: Error querying database. Cause: java.sql.SQLSyntaxErrorException: This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery'

2020-12-02 Thread Jason Smyth
Hello, I could be wrong but this looks to me like the sort of thing that should be raised as an issue on GitHub: https://github.com/gocd/gocd/issues Regards, Jason On Wednesday, 2 December 2020 at 08:44:19 UTC-5 gdlai cn wrote: > > ### Error querying database. Cause:

Re: [go-cd] Cannot run agent in MSYS2

2020-11-27 Thread Jason Smyth
Hi Joel, There is no way that I know of to specify a particular interpreter for GoCD Tasks but it isn't something I have ever looked into so it might be possible. You are correct that each Task needs to explicitly invoke the child shell of choice. We use PowerShell rather than MSYS2 bash, but

Re: [go-cd] Pipeline not waiting for previous test pipeline to complete

2020-11-27 Thread Jason Smyth
Hi Joel, I think the missing piece may be that *#{UPSTREAM_BUILD_PIPELINE} *does not need to be a direct parent of the Pipeline where the Fetch Artifact Task resides. I recommend the following changes to Pipeline C: 1. Change the value of *#{UPSTREAM_BUILD_PIPELINE}* from *Pipeline A* to

[go-cd] Re: Cannot run agent in MSYS2

2020-11-24 Thread Jason Smyth
Hi Joel, I can't say for sure that it is possible because I am not familiar with MSYS2. GoCD's Task is effectively a wrapper around a command that gets passed to (I think) cmd.exe on Windows. Assuming there is a way to launch MSYS2 (and pass it an instruction set) from the command line it

[go-cd] Re: Cannot run agent in MSYS2

2020-11-24 Thread Jason Smyth
Hello, I'm not familiar with MSYS2 so maybe I am missing an obvious point but why is it necessary that the Agent process itself run within MSYS2? Can the Agent process not just launch a child MSYS2 process if the Job requires it? Regards, Jason On Tuesday, 24 November 2020 at 11:45:22 UTC-5

Re: [go-cd] Elastic agent registration problem from Windows docker swarm plugin

2020-11-04 Thread Jason Smyth
Hello, The host OS is less relevant than the container OS in this situation. What OS is your custom container image based on? This information will likely be necessary to "tunnel" into the container from the host. For troubleshooting, I recommend using docker's CLI to access one of your

[go-cd] Re: GoCD with Bitbucket Cloud Issue

2020-10-25 Thread Jason Smyth
Hello, I'm not familiar with Bitbucket cloud specifically but it seems to me you should have a few options here: 1. Undelete the deleted user. - I have no idea if Bitbucket supports this or not but, if so, it is almost certainly the easiest option. 2. Recreate the deleted

[go-cd] Re: timer-triggered pipeline not using latest dependency

2020-10-23 Thread Jason Smyth
Hi Julia, The only thing I can think of that might cause an issue from what I can see in the Value Stream Maps that you posted is that the "ui_full" and "plugins" Pipelines seem to share a particular SVN source (coloured purple in the second photo). Are you sure that ui_full v2403 and plugins

Re: [go-cd] How to clear cached material source repo on gocd server?

2020-10-05 Thread Jason Smyth
Hi Bojan, I think I understand now. The issue is that there is a Pipeline (or Pipelines) in GoCD that builds multiple source materials, including this 3rd party library. As a result, because GoCD sees the 3rd party library source as "broken", the Pipeline doesn't trigger or doesn't build

Re: [go-cd] How to clear cached material source repo on gocd server?

2020-10-05 Thread Jason Smyth
Hi Bojan, Could you elaborate on what the impact is to your process? It seems to me that if the source repo is not changing (no updates have been committed), then there should be nothing to build and it wouldn't be a problem that GoCD is "stuck" on the new version of master. I must be missing

[go-cd] Re: Running makefile within an agent

2020-08-13 Thread Jason Smyth
Hi Ryan, You might want to take a look at these 2 threads that both seem to mention the same issue you describe: https://groups.google.com/forum/#!topic/go-cd/fjOz211CIhY https://groups.google.com/forum/#!topic/go-cd/Lejm7CCgJ_Q Hope this helps, Jason On Thursday, 13 August 2020 07:25:02

[go-cd] Re: Artifact size limitation in GO 20.6.0?

2020-08-11 Thread Jason Smyth
gt; drive. Everything is stored on the single C drive. As far as I can tell, > everything looks fine on the server itself. But maybe there's something > hidden I'm missing. > > On Tuesday, August 11, 2020 at 11:10:39 AM UTC-4, Jason Smyth wrote: >> >> Hi Chris, >> >

[go-cd] Re: Artifact size limitation in GO 20.6.0?

2020-08-11 Thread Jason Smyth
Hi Chris, The last time someone brought up a space issue like this, it turned out that the server had plenty of space but it was allocated elsewhere on the file system. Have you checked the server and confirmed that there are no volumes that are running out of space? I suggest looking

[go-cd] Re: GoCD - Deploy using an artefact rather using git checkout - URGENT please

2020-08-10 Thread Jason Smyth
Hello Prakash, What happens if you add "echo" to the start of the command? Assuming it works as intended, the output of echo should make it clear whether or not the environment variables are expanding properly. Another potential issue is with the way the command is constructed in the Pipeline

[go-cd] Re: GoCD - Deploy using an artefact rather using git checkout - URGENT please

2020-08-10 Thread Jason Smyth
Hello Prakash, What do you see in the console output beyond the error message? I believe the raw command should get printed to console which would make troubleshooting easier. Here is an example from the raw output of one of our Pipelines that uses Custom Commands: !!|10:43:38.980 [go] Task:

[go-cd] Re: GoCD - Deploy using an artefact rather using git checkout - URGENT please

2020-08-05 Thread Jason Smyth
Hello Prakash, You wrote in your initial post: I know there is a stage configuration which says not to checkout the > material. But when we enable this option then there is no way in that stage > to do required task. Why can GoCD not do the required task if materials are not fetched from

Re: [go-cd] Re: Can anyone help me with the steps to get reports in custom tab from all jobs running in parallel in one stage, AS i have noticed i am getting report only for 1 stage and other stage re

2020-08-05 Thread Jason Smyth
Hi Sunaina, If you want to merge the HTML reports from multiple GoCD Jobs into a single HTML document, you will need a process that runs after all of the relevant Jobs has completed. The simplest way to accomplish this in GoCD is to add a new Stage that can consume the artifacts generated in

[go-cd] Re: Can anyone help me with the steps to get reports in custom tab from all jobs running in parallel in one stage, AS i have noticed i am getting report only for 1 stage and other stage report

2020-07-31 Thread Jason Smyth
Hello Sunaia, Could you provide an example that shows what you have done and maybe a mock-up explaining what you would like to accomplish? My understanding is that Custom Tabs are created at the Job level, not at the Stage level, so I am having a hard time envisioning a workflow that might

Re: [go-cd] Re: I am looking for the step to follow for enabling email notification for one of GoCD pipeline, someone can please help

2020-07-30 Thread Jason Smyth
Hello Sunaina, I recommend opening a new thread for your new question. This will help others who may later come searching for answers to similar issues. Regards, Jason On Wednesday, 29 July 2020 13:45:12 UTC-4, Sunaina Awadhiya wrote: > > Can anyone help me with the steps to get reports from

[go-cd] Re: Windows Go agent installation

2020-06-12 Thread Jason Smyth
Hi Balaji, Is there some reason you need to install a version of the GoCD Agent that is so much older than the server? I recommend installing using the installer for GoCD Agent version 19.8 and see if that resolves your issue. Hope this helps, Jason On Thursday, 11 June 2020 10:59:36 UTC-4,

Re: [go-cd] Re: Low database disk space warning message from Go Server

2020-04-17 Thread Jason Smyth
Hi Shivani, >From the information provided in your initial post, it looks like most of the space on the root volume is consumed by /var/lib/go-server/artifacts (14GB). My best guess is that this server was originally configured to use this directory for artifacts and then later changed to use

[go-cd] Re: Changes in config.xml post upgrade - Not working

2020-04-13 Thread Jason Smyth
Hi Bala, I recommend letting the GoCD upgrade facilities take care of this for you. I would do the following: 1. Build a new server to replace your current 17.x one. 2. Install an appropriate version of Java that will work with both GoCD 17.x and 19.x. 3. Install GoCD server

Re: [go-cd] Passing variable to tasks

2020-04-09 Thread Jason Smyth
give me the following > error: > make: pwd: Command not found > make: uname: Command not found > /bin/sh: 1: basename: not found > /bin/sh: 1: date: not found > make: git: Command not found > > Any idea why shall this be happening? > > > On Thursday, April 9, 2

Re: [go-cd] Passing variable to tasks

2020-04-09 Thread Jason Smyth
me know commands need to mentioned from UI? > > On Wednesday, April 8, 2020 at 8:44:33 PM UTC+5:30, Jason Smyth wrote: >> >> Hi Shivani, >> >> If you want to wrap a call to anything in an explicit invocation of bash, >> the usual syntax is: bash -c "commandToRun

Re: [go-cd] Passing variable to tasks

2020-04-08 Thread Jason Smyth
Hi Shivani, If you want to wrap a call to anything in an explicit invocation of bash, the usual syntax is: bash -c "commandToRun with arguments". So to run the make command you specified, it would be: bash -c 'make build path="$(pwd)"'. Note the quotes around "$(pwd)" to deal with paths that

Re: [go-cd] Need Help To Run Maven Builds Faster Setup on GoCD Kubernetes

2020-03-25 Thread Jason Smyth
Hello Mohit, One option is to update the GoCD agent container image to include the local maven repository. Another is to do what Ketan suggested and create a persistent volume that holds the local maven repo and gets mounted by the container at startup. The specifics on how to do either of

Re: [go-cd] Unable to Run Pipeline After Updating Parameter-Based Material

2019-12-10 Thread Jason Smyth
08:58:40 UTC-5, Aravind SV wrote: > > Hello Jason, > > It might be best to open an issue on GitHub with more snippets from the > log, or the whole log itself. > > Cheers, > Aravind > > On Fri, Dec 06, 2019 at 15:16:14 -0800, Jason Smyth wrote: > > Hell

[go-cd] Unable to Run Pipeline After Updating Parameter-Based Material

2019-12-06 Thread Jason Smyth
Hello, We have a GoCD Pipeline that depends on a version-controlled zip archive as one of its materials. To mitigate space issues caused by versioning a large binary file, the zip archive is rotated monthly. The upstream process that commits the archive timestamps it with -MM and every

Re: [go-cd] Re: Substitutions in environment variable

2019-09-30 Thread Jason Smyth
Hi Maxim, Maybe I am missing something but why do you want to do this? Could you not reference the existing variable instead of creating a custom variable that contains the same data? Regards, Jason On Monday, 30 September 2019 02:44:46 UTC-4, Maxim Shaev wrote: > > > Hey, are you running on

[go-cd] GoCD Agent Failing to Clean Working Directory - "Unable to delete file"

2019-09-16 Thread Jason Smyth
Hello, We have several Pipelines that are failing during the "clean working directory" task of a Job. The only error message provided is "Unable to delete file". This just started recently but I believe that, until recently, these same Jobs did not have the "Clean working directory" attribute

[go-cd] Re: Is it possible to limit an elastic agent profile to only allow one to run at a time?

2019-09-03 Thread Jason Smyth
We haven't started leveraging elastic agents yet so I can't comment on whether or not what you are looking to do is possible but if the restriction truly is for a single instance, why not use a single static agent instead of an elastic agent profile? On Tuesday, 3 September 2019 09:43:55

[go-cd] Re: External Artifact Propagation of Dependent Pipelines (aka Version Bumping)

2019-08-19 Thread Jason Smyth
Hi Anthony, I think the only way to get GoCD to show these types of dependencies is to add Pipeline A as a Material for Pipeline B. This alone wouldn't handle automatically increasing the version of Library A in Application B but it would allow you to see all downstream applications that

[go-cd] Re: Verify GoCD Version

2019-07-30 Thread Jason Smyth
Hi CaSac, This sounds like an unusual situation but I believe the version reported in the GoCD UI should be correct. It almost seems as if GoCD was installed from an RPM and then updated without one. Or possibly there is an RPM version of GoCD and a non-RPM version installed on the same

[go-cd] Re: Associated gocd agent to a pipeline group

2019-06-13 Thread Jason Smyth
Hello, To the best of my knowledge there is no way to link Pipeline Groups to Agents in GoCD. You would need to use either Environments or Resources to enforce the association between the individual Pipelines and the Agents you want them to run on. I'm not sure why you would want to do this,

[go-cd] Re: Agent is unable to communicate with server through load balancer

2019-05-21 Thread Jason Smyth
Hello, I think this section of the stack trace you posted explains what is happening in your situation: - There is possibly a reverse proxy (or load balancer) that is > terminating SSL. Hint: use port 8154 of the GoCD server. See >

Re: [go-cd] Can a GoCD Agent's Token be Recovered?

2019-04-23 Thread Jason Smyth
you again for your help. Cheers, Jason On Monday, 22 April 2019 23:35:13 UTC-4, Ketan Padegaonkar wrote: > > Make sure your guid.txt file does not have a trailing newline/whitespace. > > - Ketan > > > > On Fri, Apr 19, 2019 at 12:46 AM Jason Smyth > wrote: > >>

Re: [go-cd] Can a GoCD Agent's Token be Recovered?

2019-04-18 Thread Jason Smyth
e. > > - Ketan > > > > On Thu, Apr 18, 2019 at 8:48 PM Jason Smyth > wrote: > >> Hello, >> >> For some unknown reason one of our agents re-registered with a new GUID. >> We would like to revert it to its original GUID so that its history is >>

[go-cd] Can a GoCD Agent's Token be Recovered?

2019-04-18 Thread Jason Smyth
Hello, For some unknown reason one of our agents re-registered with a new GUID. We would like to revert it to its original GUID so that its history is maintained but we do not have a backup copy of the token. We restored the original GUID but now see token errors in the log when we try to

Re: [go-cd] Re: Choose Bundled Java Bitness for Chocolatey GoCD Agent Install

2019-04-12 Thread Jason Smyth
Thank you both for your feedback. The --x86 switch was what we are looking for. Now I just need to figure out the correct syntax to pass arguments in via --ia and we will have our first step towards a more automated process for setting up our static agents. Cheers, Jason On Wednesday, 10

[go-cd] Choose Bundled Java Bitness for Chocolatey GoCD Agent Install

2019-04-10 Thread Jason Smyth
Hello, We are looking at the possibility of moving to Chocolatey as an installation source for our Windows GoCD agents. Currently we are running 32-bit Java on all of our servers and would like to preserve this. Is there a way we can specify the bitness of Java when installing the GoCD agent

Re: [go-cd] Inconsistent Behaviour when Calling Stage History API

2019-03-29 Thread Jason Smyth
Done: https://github.com/gocd/gocd/issues/6041 Thank you for the quick reply. On Thursday, 28 March 2019 21:20:30 UTC-4, Ketan Padegaonkar wrote: > > This should not be the case. Do you mind logging a bug? > > On Fri, Mar 29, 2019, 2:42 AM Jason Smyth > wrote: > >> Hi

[go-cd] Inconsistent Behaviour when Calling Stage History API

2019-03-28 Thread Jason Smyth
Hi all, Maybe I just don't understand how this API is intended to work and/or be used but I am trying to build some things that will leverage it and I am having a hard time understanding the results I am seeing. We have a GoCD instance that includes maybe a couple hundred pipelines. For my

[go-cd] Re: Securing the password for authenticating on the GoCd API

2019-01-23 Thread Jason Smyth
Would using a secure environment variable rather than a parameter on the calling server meet your needs? On Wednesday, 23 January 2019 00:39:48 UTC-5, Shohre Mansouri wrote: > > Hello people, > > We need to "schedule" a pipeline on a GoCd server, from another GoCd > server. > We have been able

Re: [go-cd] TFS Checkout Fails After Updating from 15.2 to 18.10

2018-11-20 Thread Jason Smyth
r than a directory. I still feel that this can be solved by telling the underlying TFS agent to create a server workspace instead of a local one but I have no idea how to do that. If anyone has any ideas, I'd love to hear them. Regards, Jason On Tuesday, 6 November 2018 15:58:37 UTC-5, Jason Smyth

  1   2   >