Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 21:37
    ibnc synchronize #5756
  • Jan 31 2019 20:02
    ibnc synchronize #5756
  • Jan 31 2019 19:07
    arvindsv commented #3304
  • Jan 31 2019 19:06
    arvindsv commented #3304
  • Jan 31 2019 18:59
    varshavaradarajan synchronize #5791
  • Jan 31 2019 18:24
    ibnc synchronize #5756
  • Jan 31 2019 18:11
    mushycode commented #3304
  • Jan 31 2019 17:29
    GaneshSPatil opened #5797
  • Jan 31 2019 15:22
    arvindsv unpinned #5776
  • Jan 31 2019 15:07
    arvindsv commented #3304
  • Jan 31 2019 15:07
    arvindsv commented #3304
  • Jan 31 2019 14:59
    arvindsv commented #5796
  • Jan 31 2019 14:09
    akshaydewan commented #5796
  • Jan 31 2019 13:21
    maheshp commented #5796
  • Jan 31 2019 12:42
    ketan commented #5795
  • Jan 31 2019 12:39
    ketan commented #5795
  • Jan 31 2019 12:38
    JorritSalverda commented #5795
  • Jan 31 2019 12:35
    JorritSalverda commented #5795
  • Jan 31 2019 12:35
    JorritSalverda closed #5795
  • Jan 31 2019 12:00
    mushycode commented #3304
Mahadev Gouda
@MahadevG
Hi i am getting following error while connecting to the server.
2022-04-25 17:40:52,124 - Using classpath resource jar:onejar:lib/agent-22.1.0-13913-classes.jar!/config/agent-logback.xml'. 2022-04-25 17:43:54,823 - [Mon Apr 25 17:43:54 IST 2022] Starting process: 2022-04-25 17:43:54,824 - [Mon Apr 25 17:43:54 IST 2022] Working directory : /var/lib/go-agent 2022-04-25 17:43:54,824 - [Mon Apr 25 17:43:54 IST 2022] Application arguments: [-serverUrl, https://server-name/go, -sslVerificationMode, FULL] 2022-04-25 17:43:54,824 - [Mon Apr 25 17:43:54 IST 2022] GoCD Version: 21.3.0-13067 2022-04-25 17:43:54,824 - [Mon Apr 25 17:43:54 IST 2022] Java Version: 17.0.2 2022-04-25 17:43:54,824 - [Mon Apr 25 17:43:54 IST 2022] Operating System: Linux(5.13.0-40-generic) 2022-04-25 17:43:55,242 - Could not find fileconfig/agent-logback.xml'. Attempting to load from classpath.
2022-04-25 17:43:55,243 - Using classpath resource `jar:onejar:lib/agent-21.3.0-13067-classes.jar!/config/agent-logback.xml'.
2022-04-25 17:43:57,674 - SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
2022-04-25 17:43:57,674 - SLF4J: Defaulting to no-operation (NOP) logger implementation
2022-04-25 17:43:57,675 - SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Roeniss Moon
@roeniss
Hi guys. Is it possible to get latest pipepline status with Gocd Official apis without history api? For now I've figured out that it is possible if I know pipepline_count, but I want to get latest info without knowing the counter.
ramayya
@rama1227
hi team , I am new to gocd , I have configured gocd using helm repo in kubernetes , Please help me how to configure ibm cli, kubectl , ibm plugins, helm in gocd , i have tried to configure using init containers in values.yaml but not working as expected , kindly please help thanks in advance
xunyao4dev
@xunyao4dev
Hello, can I deploy a package(eg. myproject.jar) to the virtual machine?
marques-work
@marques-work

@xunyao4dev you can pretty much do anything in GoCD that you can on the command line.

“Deploy a jar” could mean many things. In the simplest form, it might only mean “upload the jar via SCP or HTTP POST, move the jar to a known location and start the JVM with java -jar myproject.jar. If it’s Tomcat, there are many tutorials online to use their deployment API with curl or similar tool.

@rama1227 aren’t many of these cli tools just about putting binaries in the PATH and maybe exporting some env vars?
obyerere
@obyerere
Hello I am trying to upgrade from version 19.8.0 to 20.1.0 on a centos server, the upgrade documentation states : sudo rpm -Uvh /path/to/go-server-${version}.rpm
sudo yum upgrade go-server, but what is the path/to/go-server, is it /etc/go or /etc/default or /var/lib/go-server. In regard to version is it to be written as -${v20.1.0}.rpm or -${20.0.1}.rpm or -$20.0.1.rpm is the curly bracket needed.
marques-work
@marques-work

Hi @obyerere the path refers to wherever you downloaded the rpm package.

Omit the $ and curly braces when replacing the version.

Thus the file name would be go-server-20.1.0.rpm

marques-work
@marques-work
FYI, ${variable} is simply bash variable interpolation syntax so we replace everything from the $ to the terminal curly brace } with the value.
ramayya
@rama1227
@marques-work when i try to configure cli tools in gocd agent via helm the go agent in kubernetes is down and went to crashloop backoff.
obyerere
@obyerere
Thank you so much @marques-work
ramayya
@rama1227
@marques-work i need to know how to
configure these tools in gocd helm repo
3 replies
Travis Schnider
@tschnide
Hi I'm new to gocd and I'm trying to get a task set up to run a basic command. I keep getting output like in the image below. Has anyone had a similar experience and know how to fix it? If not is there a hello world style example to get people started?
image.png
marques-work
@marques-work
@tschnide exited with code 126; check file node on /usr/bin/env and make sure it has the executable bit set

If it’s not that, check for the same on /bin/bash.

Also, if neither works, make sure both of those binaries are actually correct and not a text file that was accidentally copied over it. This can happen accidentally if you’ve built an image and running in a container

Travis Schnider
@tschnide
Thanks @marques-work. I found that it was trying to target a file rather than run the command. I made a bash script file with the command in it and then it worked.
marques-work
@marques-work
👍🏼
Thiago Sanches
@thiagosanches
Hi everyone, good afternoon.
I'm new at GOCD world, but there is a request on our team to rotate the cipher key as a good practices routine.
How should I proceed to achieve that?
Thiago Sanches
@thiagosanches
I've tried to remove the cipher.aes and restart the server, go-cd created a new file, but it doesn't started properly.
Nayan Makwana
@nayandj95
he everyone,
i am new to gocd and so can any one help me to build my first pipline
Nayan Makwana
@nayandj95
is there any tutorial available for gocd??
3 replies
Nayan Makwana
@nayandj95
can I work on go cd without git repo? (using own code which is stored in the local file system)
1 reply
Nayan Makwana
@nayandj95
hello everyone, I am looking for a solution regarding how to use my local code in the material. if anyone has an idea how to use please help me out
2 replies
Vijay
@vijayreddy:matrix.org
[m]
Hello guys, I'm implementing a video processing pipeline using GoCD as my GSoC 22 project
In order to process the video we need to copy the video from the server to agent
What's the recommended way to copy those large video files from go-server to agent?
1 reply
John Howe
@johnhowe
hello - I had gocd working fine until I rebooted and now it won't start again, I think it is complaining about a missing applicationContext-global.xml but I am struggling to find any info on how to fix it.
2022-06-28-145210_2265x1158_scrot.png
John Howe
@johnhowe
have any of you seen a similar error? this was installed from homebrew on osx, if that is relevant
1 reply
Nayan Makwana
@nayandj95
image.png
i am getting this error for my windows agent
agent already configure with java and git with environment path
1 reply
John Howe
@johnhowe
I have downloaded and extracted go-server-22.1.0-13913-osx.zip which runs fine. However all my pipelines are now lost. Where are they located? Is there a way to extract them from the previous install and copy them across to this new install?
1 reply
Nayan Makwana
@nayandj95
can I use gocd as a Configuration management tool?
ctrakesh
@ctrakesh
Hi Team ,
image.png
wan to mark gocd pipeline fail if this exe return status code >0
shell script need to be checked , any correction required ?
image.png
Nayan Makwana
@nayandj95
it is possible to make user interactive pipeline so user can select yes or no for taking old data's backup.
selipe
@selipe:matrix.org
[m]
Hi All,
I see a new elastic agent getting created for every 2 mins, how can I understand this behavior please ?
Here is the console snippet:
Nayan Makwana
@nayandj95

Hello All,
I am new to GOCD and i want to make complex workflow as given bellow so how can i build that pipeline please guide me or if any one on discord please give discord id so i can explain what i want make

scenario 1:
my client have 3 server A.primery B.Secondry C.Backup. i want to take data base backup from A to C or B to C (folder to folder). while taking backup i want to deploy my build in parallel

scenario 2:
My client have only one server so i have to stop webserver and taking backup of database (folder to folder) after completing backup process. the pipeline should deploy the build

scenario 3:
My client have only one server so i have to stop webserver and taking backup of database (as Dump) after completing backup process. the pipeline should deploy the build

(Artifact will Build by developers and put in shared drive so i want to copy from there)

-> for this all i want to create single pipeline
-> i want to define at starting of pipeline that i want to take backup or direct deploy the build

Please help me to Build This Process Pipeline

Regards
Nayan Makwana

Pavel Zaytsev
@PZA-git
Hello everyone! Im new wtih GOCD, i tried to understand is it possible to pull .zip artifact(Dotnet service that already built) from a private nexus raw repo with some plugins?I dont think its a good solution to pull it via pwsh with curl.
2 replies
Christian Butcher
@chrisb2244

I've written/am writing a plugin that produces an HTML file in the working directory. On a subsequent call, I now see that cleaning the working directory (with the built-in toggle option) fails because the (created HTML) file can't be removed.

Is there something I can change in the creation of the file (currently it's just using Java's FileWriter class) to make this work properly? I'd have expected the plugins to run as the same or a less privileged 'user' than the clean directory built-in command.

In case it's target specific, this is GoCD 22.1.0 on Windows (agent and server. Probably in future agents will also be in Windows Docker containers, but this error is occurring on the Windows host agent, and in Docker containers I can just use a new container, so no need to clean I guess)

4 replies
Nayan Makwana
@nayandj95

Screenshot_1.png

can i achieve this type of pipeline using good

Christian Butcher
@chrisb2244

In the HTML templates for plugin views, is it possible to (inline, or I guess otherwise) define some reuseable parameterized block, so that the rest of the file could use something more like

<mydivtype propertyName="NameOfPropToBind" required="true"></mydivtype>

instead of a large number of repeated (changing in few ways, mostly just the repeated use of "NameOfPropToBind")

<div class="form_item_block">
<label ng-class="{'is-invalid-label': GOINPUTNAME[NameOfPropToBind].$error.server}">label text</label>
<input ng-class="..." type="text" ng-model="NameOfPropToBind" ng-required="true" ... />
<span class="form_error form-error" ng-class="{.....}" ng-show=".....">{{GOINPUTNAME[NameOfPropToBind].$error.server}}</span>
</div>
deaw0003
@deaw0003
Hi everyone. I have one quick question. Can GoCD detect change of material, if I use git tag in gitlab repository ?
3 replies