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
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
> 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 *
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
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'
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'
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
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: '',
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"])
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"])
*
[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
${foldername}"]
],
submoduleCfg: [],
userRemoteConfigs: [[credentialsId: 'gittfscredentials'
,
url: "${repository}"]]])
}
}
El martes, 18 de fe
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: '',
--
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
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
Hello,
Having the following code:
pipeline {
agent any
stages {
stage('Example Build') {
steps {
echo 'Hello World'
}
}
stage('Example Deploy') {
when {
branch 'production'
}
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.
--
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
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
19 matches
Mail list logo