Re: Credentials "secret text" -> bash -> expect ?

2019-05-15 Thread b o b i
Do you mean ? send \"${varSecretText}\n\" --> it has {} or do you mean puts "SECRET $varSecretText" --> it worked SECRET On Thursday, May 16, 2019 at 6:19:57 AM UTC+2, Mark Waite wrote: > > I'm accustomed to seeing variable references in groovy strings as > "${variablename}", while

Re: Credentials "secret text" -> bash -> expect ?

2019-05-15 Thread Mark Waite
I'm accustomed to seeing variable references in groovy strings as "${variablename}", while it seemed in your example you were referencing it as "$variablename". Is that an intentional difference, or accidental? On Wed, May 15, 2019 at 9:14 PM b o b i wrote: > It is a single line secret, but it

Re: Credentials "secret text" -> bash -> expect ?

2019-05-15 Thread b o b i
It is a single line secret, but it wont work :| On Wednesday, May 15, 2019 at 7:31:27 PM UTC+2, Ivan Fernandez Calvo wrote: > > If your secret is multiline, the secret text does not work as expected, > you could store the one line base64 value of your secret and decode it > before send it, it

Re: Jenkins init groovy script to upload custom plugin

2019-05-15 Thread Mark Waite
On Wed, May 15, 2019 at 8:08 PM Nageswara Rao Palukuri Venkata < pvnra...@gmail.com> wrote: > Hi, > > I am creating a Jenkins instance using init scripts. I am able to > configure all the required custom tools, extension and able to configure > the jobs related to my project. I want to install

Re: Jenkins init groovy script to upload custom plugin

2019-05-15 Thread Nageswara Rao Palukuri Venkata
Hi, I am creating a Jenkins instance using init scripts. I am able to configure all the required custom tools, extension and able to configure the jobs related to my project. I want to install the Veracode plugin also using the init script. Looking for any init script (groovy) to install

Re: Jenkins init groovy script to upload custom plugin

2019-05-15 Thread Mark Waite
On Wed, May 15, 2019 at 7:37 PM Nageswara Rao Palukuri Venkata < pvnra...@gmail.com> wrote: > How can we upload a custom plugin file using groovy init script? > Is there any init groovy script is available to upload custom plugin > veracode ( >

Jenkins init groovy script to upload custom plugin

2019-05-15 Thread Nageswara Rao Palukuri Venkata
How can we upload a custom plugin file using groovy init script? Is there any init groovy script is available to upload custom plugin veracode (https://tools.veracode.com/integrations/Jenkins/bin/veracode-jenkins-plugin.hpi) ? -- You received this message because you are subscribed to the

Re: Git scm fails to check the expected branch when another branch has the target branch name as a suffix

2019-05-15 Thread Mark Waite
The git plugin includes support for multiple remotes (origin, upstream, downstream, etc.) and for multiple branches. It includes guessing code for those cases where a branch name is ambiguous (like 'develop' in a repository which includes branches named 'develop', 'kassandra/develop', and

JIRA Plugin 3.0.7 NPE

2019-05-15 Thread Junio Souz
After update the plugin to this version release a version start to break with NPE, no more stacktrace. Then I downgraded the plugin and it back to work. I suspect JENKINS-19195 caused this. Can anyone confirm that and otherwise fix it? Tks. -- You received this message because you are

NPE in JIRA Plugin after update to 3.0.7

2019-05-15 Thread Junio Souz
I've observed that in 3.0.7 release notes there's this improvement JENKINS-19195 . I can't say for sure, but after update to this version all my builds that closes releases stopped work with NPE, no more stacktrace. After it's downgrade, the

Git scm fails to check the expected branch when another branch has the target branch name as a suffix

2019-05-15 Thread James Robson
I have a repo with a branch called ‘develop’ and another branch called ‘kassandra/develop’. I have created a pipeline job that is building on ‘develop’, set to trigger with the ‘GitHub hook trigger for GITScm polling’. I expect this job to run only when ‘develop’ is changed, however it is

Unable to build Vue js project through Jenkins

2019-05-15 Thread LP
Hi, I am new to Jenkins but have done a few builds/deployment jobs of .net project successfully. Now I am trying to build/deploy Vue js project through Jenkins but just cannot get through... I can build the project directly on a server using command prompt. It builds and creates files for

Kubernetes plugin - Service account authorization in Google Cloud

2019-05-15 Thread Jonas Lindström
Hello, I am trying to use the Kubernetes plugin to start Jenkins agents in Google Kubernetes Engine. For server to server applications, Google recommends that you create a GCP service account and then generate a key file (JSON format) for this service account. The key file can then be used to

using Jenkins for vue js project build and deployment

2019-05-15 Thread LP
Hi, I am new in Jenkins. Even though I have created .net projects build and deployments just fine, I have an issue with building Vue js project in Jenkins. I am trying to build and deploy vue js project in Jenkins but it does not build.. and it does not give me the reason why, or even a

Credentials "secret text" -> bash -> expect ?

2019-05-15 Thread Ivan Fernandez Calvo
If your secret is multiline, the secret text does not work as expected, you could store the one line base64 value of your secret and decode it before send it, it could work -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from

Automatically re-running a remote job without failing it, if the connection to the node drops

2019-05-15 Thread Alexandru Băluț
I see jobs failing with "FATAL: command execution failed" caused by java.io.EOFException. I understand the connection to the remote node drops, so java.io.EOFException is raised. Is it possible to re-run the job remotely without failing it at all? I've seen the Naginator plugin, but it seems

Credentials "secret text" -> bash -> expect ?

2019-05-15 Thread b o b i
Im using expect to inject a password into an openssl command called from a make file (and spawned by expect). However, Im not able to pass the secret. Any suggestions on why this is happening? makeFileWith.mk contains an openssl command requiring a secret stage ('Deploy') {

Re: Scan Repository Triggers project settings not taken into account by repositories

2019-05-15 Thread Damien Coraboeuf
Hi, resolved (while writing the post). One has to look at "Child Scan Triggers" at parent level - not at "Scan Organization Folder Triggers" BR Damien On Wednesday, 15 May 2019 14:26:30 UTC+2, Damien Coraboeuf wrote: > > Hi, > > We're using Jenkins 2.164.3, with the latest version of all our

Scan Repository Triggers project settings not taken into account by repositories

2019-05-15 Thread Damien Coraboeuf
Hi, We're using Jenkins 2.164.3, with the latest version of all our plugins. Everything is driven by SCM events (GitHub or Bitbucket server). We'd like very much to disable the "Branch indexing" - we've indeed done it at project folder level, but this settings is not propagated at repository

Windows Master and Linux Slave give an error: Cannot run program "C:\Windows\system32\cmd.exe"

2019-05-15 Thread Gregory Givler
I have a Windows Jenkins Master with some linux (centos 7) slaves. When I try and execute a Job on the Windows Master on the linux slave using a execute shell build step I get the following: [Linux_TT_Execution_ManualRun_Job] $ C:\Windows\system32\cmd.exe -xe

configuration slice | add new Bulk string parameters

2019-05-15 Thread LnT
Hi - Anyone succeeded to add new string parameter to Bulk jobs . I tried to add via slicer. Got below error A problem occurred while processing the request. Please check *our bug tracker* to see if a similar problem has already been reported. If

Re: [github-oauth-plugin] JENKINS-50122: Authorization should work with basic Workflow jobs

2019-05-15 Thread Jonathan Pigree
UPDATE: I dug into the problem deeper and the previous PR was based on very old code so I made a new one from latest master. https://github.com/jenkinsci/github-oauth-plugin/pull/114 Hope it will be reviewed soon. On Monday, May 13, 2019 at 9:20:32 PM UTC-10, Jonathan Pigree wrote: > > Hi