durabletask v1.33 - process apparently never started in /var/lib/jenkins/workspace/local-cloud-regression-test@tmp/durable-fa896164

2019-11-15 Thread judaondo
Hello, I am sending this email with relation with this issue: https://issues.jenkins-ci.org/browse/JENKINS-60107 Versions: - OS: ubuntu server 16.04 - Jenkins version: 2.190.2 - durable task plugin version: 1.33 I am running this Job on the Master node, with the above described OS. As Devin

durable-dbed1d4d/script.sh: Syntax error: "(" unexpected

2019-11-26 Thread judaondo
I am executing the following script: sh label: "<-- Zipping files -->", script: "cd ${JENKINS_HOME}/userContent/myfiles/; zip myzip.zip *; ls -alh; sleep 30s; rm !(myzip.zip)" But I am getting the following error: durable-dbed1d4d/script.sh: Syntax error: "(" unexpected I have also tried ad

Re: durable-dbed1d4d/script.sh: Syntax error: "(" unexpected

2019-11-27 Thread judaondo
> Unrelated to Jenkins. > > On Tue, Nov 26, 2019 at 2:48 PM judaondo > > wrote: > >> I am executing the following script: >> >> sh label: "<-- Zipping files -->", script: "cd >> ${JENKINS_HOME}/userContent/myfiles/; zip myzip.zip *

Re: durabletask v1.33 - process apparently never started in /var/lib/jenkins/workspace/local-cloud-regression-test@tmp/durable-fa896164

2019-12-03 Thread judaondo
Hi Devin, thanks for the answer. I will give it a try and let you know. Thank you for your help. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use

Running code in Windows agent but script says we are in Linux

2020-02-10 Thread judaondo
I have the following pipeline (Jenkinsfile): @Library('mylib@master') import com.mylib.* pipeline { agent { label 'WindowsSlaveWS2016' } stages { stage('Demo') { steps { echo 'a' determineOS() echo 'b'

Running code in Windows agent but script says we are in Linux

2020-02-10 Thread judaondo
I have the following pipeline (Jenkinsfile): @Library('mylib@master') import com.mylib.* pipeline { agent { label 'WindowsSlaveWS2016' } stages { stage('Demo') { steps { echo 'a' determineOS() echo 'b'

Re: Running code in Windows agent but script says we are in Linux

2020-02-10 Thread judaondo
ng-on-a-unix-like-node> > > rather than writing your own version of that step. The System.properties > that you are using will execute on the master, not on the agent. When it > executes on the master, it will report the os.name value of the master. > > On Mon, Feb 10, 20

SharedLibrary doesn´t allow git parameter to fetch all branches

2020-02-10 Thread judaondo
Hello, I have the following pipeline that uses a method called "getServiceVersion" from a Shared Library. #!/usr/bin/env groovy @Library('mycom') import com.mycom.* // Declarative pipeline // properties([[$class: 'JiraProjectProperty'], buildDiscarder(logRotator( artifactDaysToKeepStr: '',

shared library - hashmap error

2020-02-17 Thread judaondo
Hello I have the following Shared Library: #!/usr/bin/env groovy import com.ciplatforms.Logger /** * Clone the selected git repository. * * Example usage within a declarative pipeline: * *steps { *gitCheckout (["htpp://myrepo1.git": "branch1", "htpp://myrepo2.git": "branch2"])

shared library - hashmap error

2020-02-17 Thread judaondo
Hello I have the following Shared Library: #!/usr/bin/env groovy import com.mycom.Logger /** * Clone the selected git repository. * * Example usage within a declarative pipeline: * *steps { *gitCheckout (["htpp://myrepo1.git": "branch1", "htpp://myrepo2.git": "branch2"]) *

Re: shared library - hashmap error

2020-02-17 Thread judaondo
[Pipeline] // timestamps [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS El martes, 18 de febrero de 2020, 4:44:19 (UTC+1), Ramanathan Muthaiah escribió: > > > On Monday, February 17, 2020 at 8:06:57 PM UTC+5:30, judaondo wrote: >> >> Hello I ha

Re: shared library - hashmap error

2020-02-18 Thread judaondo
${foldername}"] ], submoduleCfg: [], userRemoteConfigs: [[credentialsId: 'gittfscredentials' , url: "${repository}"]]]) } } El martes, 18 de fe

SharedLibrary doesn´t allow git parameter to fetch all branches

2020-02-21 Thread judaondo
Hello, I have the following pipeline that uses a method called "getServiceVersion" from a Shared Library. #!/usr/bin/env groovy @Library('mycom') import com.mycom.* // Declarative pipeline // properties([[$class: 'JiraProjectProperty'], buildDiscarder(logRotator( artifactDaysToKeepStr: '',

Re: SharedLibrary doesn´t allow git parameter to fetch all branches

2020-02-21 Thread judaondo
-- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com

"Jenkinsfile" location in a gradle project

2020-02-24 Thread judaondo
Hello, I have some gradle projects and I have the Jenkinsfile related to these projects outside that projects. I have a git repo with the gradle project and another git repo with Jenkinsfiles. Should these Jenkinsfile be located inside gradle repositories, like in this example (https://gith

Customize conditions skipped message

2020-02-26 Thread judaondo
Hello, Having the following code: pipeline { agent any stages { stage('Example Build') { steps { echo 'Hello World' } } stage('Example Deploy') { when { branch 'production' }

Re: SharedLibrary doesn´t allow git parameter to fetch all branches

2020-03-03 Thread judaondo
Hello Mark, I need to clone 2 repositories, so I can´t place the Jenkinsfile in one repository or another. I need to place the code directly in the Jenkinsfile inside the job. The thing is that branches are not loaded in the git paramater. Is there any workaround to fix this? Thank you. --

Re: SharedLibrary doesn´t allow git parameter to fetch all branches

2020-03-03 Thread judaondo
Yes, finally I used "String parameter" but that was, what I was trying to avoid... I wanted to help anyone selecting their branch and not typing it. Thank you for your support :) -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe

Re: SharedLibrary doesn´t allow git parameter to fetch all branches

2020-03-03 Thread judaondo
Which plugins are those? Multibranch is this one: https://plugins.jenkins.io/workflow-multibranch/ and multipipeline plugin? Thank you. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails