I am trying to run a job in Jenkins automatically every time my Jenkins
restarts or update my Jenkins instance. Any insight of how to do would be
appreciated.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and
not sure if it helps
There is a known issue with the integration of Jenkins and Bitbucket v7
that if the PR is not having any changes to the Jenkinsfile, the Jenkins
will fall back to heavyweight checkout.
On Wednesday, 24 February 2021 at 21:55:10 UTC+5:30 Martin Schmude wrote:
> Hello all,
[WARNING] label option is deprecated. To use a static pod template, use
the 'inheritFrom' option.
Is there a workaround or different way to specify the agent labels
Below is the pipeline script
```
pipeline {
agent {
kubernetes {
* label 'sample-label' *
* yaml** '''*
apiVersion: v1
won't just go away if I remove and restart the
>> container.
>>
>> example:
>> -v /path/to/server/log/directory:/path/from/container/logs/directory
>>
>>
>> On Wed, Oct 28, 2020 at 11:43 PM touseef wrote:
>>
>>> Can anyone provi
a persistent log that won't just go away if I remove and restart the
>> container.
>>
>> example:
>> -v /path/to/server/log/directory:/path/from/container/logs/directory
>>
>>
>> On Wed, Oct 28, 2020 at 11:43 PM touseef wrote:
>>
>>> Can anyone p
Can anyone provide pointer on how do i get the logs of the containers
running in kubernetes without using Kubectl because i dont have an access
to the kubernetes cluster.
Is there any loging mechanism by which i can get the logs or stdout in the
container to jenkins ? Help would be greatly appr
Can anyone provide me point me, on how do i get the logs of the
containers running in kubernetes without using Kubectl because i dont have
an access to the kubernetes cluster.
Is there any loging mechanism by which i can get the logs or stdout in the
container to jenkins ? Help would be greatl
I want to change the CIDR of services ( replace the kubeadm ip alloc range)
i.e cluster ip.I have the cluster already up and running.
Is it possible to switch teh cluster to different cluster ip rangfe without
re initializing it from scratch?
--
You received this message because you are subscri
I would like to have the deployed image and versions automatically
managed.Help would be appreciated.
--
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
Can anyone help how Can i run the tests on actual hardware by making use of
jenkins pipeline and docker.Traditionaly i am aware we can label the slaves
connected to hardware and the tests will be executed accordingly.
Any help in of running the tests using docker and the pipeline will be
apprec
#x27;maven:3.3.9-jdk-8-alpine',
> ttyEnabled: true, command: 'cat',
>
> )
> ]) {
>
> node(POD_LABEL) {
> stage('Tests on hardware type 1') {
> git 'https://github.com/jenkinsci/kubernetes-plugin.git'
> container('m
Can anyone point me in right direction,
I have a use case as follow:
Kubernetes master running the jenkins and i have n number of physical
machine connected with different hardwares,So what i want to achieve is
when a specific job is triggered in jenkins to execute a test on hardware ,
k8's(ku
issuetype: [id: '3']]]
response = jiraNewIssue issue: NewJiraIssue, site: 'THAT CAN BE SET IN
JENKINS CONFIGURATION OR CAN DIRECTLY WRITE HERE'
echo response.successful.toString()
echo response.data.toString()
}
}
}
On Monday, 11 November 2019 21:27:33 UTC+5:30, An
I want to Create Jira Issue on Build Failure through *Jenkins pipeline*.I
am able to achive this help in freestyle projects.
Can anyone help me in integrating the create jira issue in jira
automatically via pipeline syntax when jenkins build fails.
--
You received this message because you are
On Wednesday, 10 April 2019 09:44:31 UTC+5:30, touseef wrote:
>
> I have a pipeline compliant test plugin.in a @databoundConstructor i
> have to pass an instance of another class *Input (*consisting of n number
> of variables to be taken as input*)*
>
>
> @Symbol(&
I have a pipeline compliant test plugin.in a @databoundConstructor i have
to pass an instance of another class *Input (*consisting of n number of
variables to be taken as input*)*
@Symbol("forget")
@Extension
public class ForgetBuilder extends Builder implements SimpleBuildStep {
private
x27;t want multiple jobs. What i am looking is having a single
intelligent job to do the context switching between jobs.
Any idea or help will be appreciated.
Thanks,
Touseef
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubs
i want to use the log 4j for logging in my jenkins plugins.However my
plugin is unable to find the properties file even when i placeit in
resource folder of plugin.
However when i do it using simple java program it creates log file as
expected.
Following is the content of properties file
# Roo
Even in some cases jenkins doesnot allow me to change the name of already
existing job?
On Thu, Oct 6, 2016 at 11:04 AM, touseef yousuf
wrote:
> Im currently facing an issue where the config.xml of my created jobs gets
> deleted randomly on Jenkins restart and the job is no longer availa
May I know, how to perform below task:
Step 4: Use the contents of the 'certreq.csr' file to generate a
certificate from your certificate provider. Request a SHA-1 certificate
(SHA-2 is untested but will likely work). If using DigiCert, download the
resulting certificate as Other format "a .p7
May I know, how to perform below task:
Step 4: Use the contents of the 'certreq.csr' file to generate a
certificate from your certificate provider. Request a SHA-1 certificate
(SHA-2 is untested but will likely work). If using DigiCert, download the
resulting certificate as Other format "a .p7
In job folder ,are the config.xml files present? if so take a back of the
config files first and then try to install the previous version of the
jenkins you were using.
On Thursday, 20 October 2016 06:08:51 UTC+5:30, slide wrote:
>
> You probably want to look at the Jenkins logs and see why they
you can increase the heap size in the jenkins config.xml file, that will
increase the availability of heap size for jenkins ,this might help u.Other
thing is u can ugrade to 2.7.4 latest stable version of jenkins
On Tuesday, 18 October 2016 01:59:10 UTC+5:30, Eric Crahen wrote:
>
> Hi,
>
> W
Can u install the one version less than the current installed version of
*GITLAB,*to check whether the problem still exists for u.
On Wednesday, 19 October 2016 15:17:53 UTC+5:30, Eddard wrote:
>
> -gitlab Version: 8.12
> -jenkins version: 2.16
> -gitlab-plugin version: 1.4.2
>
>
>
> Everytime we
May be this code might helped u as i had similar requirement but i implemented
it in groovy script
<% changeSet = build.changeSet
if (changeSet != null) {
hadChanges = false %>
Changes
<% changeSet.each { cs ->
hadChanges = true
aUser = cs.author %>
Commit ${cs.revision} by <%= aUser != null
import hudson.model.*
It worked fine for me in my groovy scripts and i was able to able use
access jenkins classes.Can i know which version of jenkins are you using.As
far i now in jewnkins 2.7.4 ,there are some security updates
On Tuesday, 18 October 2016 01:10:01 UTC+5:30, ZT wrote:
>
> Hello
i want to schedule a task in windows task scheduler that will take the
backup of job config.xml and store it in git repo..Any idea how to do it
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving
Install the Jenkins at the new place and just *copy the jobs folder *from
previously installed jenkins folder to the new installation folder.This way
u will retain all your previously created jobs.
The other thing you can use is *Job Import plugin.*May be that will
suffice your requirement.
On
Im currently facing an issue where the config.xml of my created jobs gets
deleted randomly on Jenkins restart and the job is no longer available on
the view,even the job folder is present on file system *but without
config.xml *.I have no idea what leads to this randomn disappearance of the
con
29 matches
Mail list logo