Hello Guys,
I am using Jenkins as CI, i had created a job which will pull the code from
GitLab. For this i had configured like this. Under SourceCode Management i
had selected Git.
I had porvided my Git *Repository URL* as like this "
*http://192.168.1.36/Enliven-Product/EnlivenService.git*;.
Yeah, we need to see the code to tell what's wrong with the syntax. Which
version were you before the upgrade? And is it now at the latest as of
this writing?
On Thursday, February 2, 2017 at 4:27:42 PM UTC-8, Guy Knights wrote:
>
> I upgraded some of my pipeline plugins (there were some
Hi
I have setup Jenkins in Docker and am able to run some ANT script, I now
have to run some 'windows batch script'. I gave a basic command echo
"Hello" but I am getting the following error... I believe it is expecting
cmd.exe to be in my work space??? Can some one please help me resolve this
I upgraded some of my pipeline plugins (there were some groovy module
upgrades I believe, unfortunately I don't have a list of what was upgraded)
and suddenly my build pipelines no longer work and are throwing the
following error:
Running on master in /var/jenkins_home/jobs/Project1/jobs/API -
Hello
I had a jenkinsfile which worked perfectly, but after updating it no longer
works.
*Old Jenkinsfile*
#!/usr/bin/groovy
@Library('github.com/fabric8io/fabric8-pipeline-library@master')
def failIfNoTests = ""
try {
failIfNoTests = ITEST_FAIL_IF_NO_TEST
} catch (Throwable e) {
I could not find this plugin in the compatibility page
here: https://github.com/jenkinsci/pipeline-plugin/blob/master/COMPATIBILITY.md
Is there a way I can schedule the same job with different parameters? I am
using a non-declarative job just to kick off my parameterized declarative
pipeline
On Thursday, February 2, 2017 at 2:13:36 PM UTC-8, Daniel Beck wrote:
>
>
> > On 02.02.2017, at 17:27, David Karr
> wrote:
> >
> > Wow, and the documentation page doesn't even MENTION this fact? I'm
> reading it now, and there's that underscore, completely without any
I am quite a new bee in jenkins. So - it can happen , that I ask something
that already was asked. While - I did not find anything on those or another
forums or documentation.
I have 2 jobs on my jenkins server.
One creates node (EC2 amazon Windows machine) with application server
installed
Hello,
I'm currently dynamically creating several jobs with different build
parameters. I want to combine these jobs into a single pipeline and have
the pipeline run these jobs in parallel. Which plugins would be
recommended for this task? Additionally, I need to be able to retrieve the
> On 02.02.2017, at 20:26, Don Alcombright wrote:
>
> Any thoughts on what I am doing wrong?
You forgot to include the interesting parts of the URL you're using. Strip out
job names or whatever, but leave the rest intact.
Also, what does Jenkins tell you is the
On Thursday, February 2, 2017 at 9:15:57 AM UTC-8, David Karr wrote:
>
> In Jenkins 2.19.2, I now have three different pipeline jobs using a
> variation of the same script components, including a bunch of methods that
> I've pasted into each script. I'm storing each script in git, but I think
> On 02.02.2017, at 18:15, David Karr wrote:
>
> What might I be doing wrong here?
Are you including 'git clone' wherever you are pasting the URL to the repo?
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To
> On 02.02.2017, at 17:27, David Karr wrote:
>
> Wow, and the documentation page doesn't even MENTION this fact? I'm reading
> it now, and there's that underscore, completely without any statement like
> YES, THIS REALLY NEEDS TO BE HERE. Seriously?
Could you
Hi,
I'm having trouble supplying my github credentials to a release build for a
Maven project using the Jenkins credentials plugin.
When I use the form to supply the SCM credentials for a specific release,
it works fine. But it ends up putting my github password in the console
log! So I
I 'described' the pod and see:
Events:
FirstSeen LastSeen Count From SubobjectPath Type Reason Message
- - - -- ---
10m 10m 1 {default-scheduler } Normal Scheduled Successfully assigned
buildpod-34a7d18b-a756-4ce8-a851-cf3221884432 to
Hi
I'm trying to run this jenkinsfile, but get the below error. Does anyone
know what the problem is?
Jenkinfile
#!/usr/bin/groovy
@Library('github.com/fabric8io/fabric8-pipeline-library@master')
def failIfNoTests = ""
try {
failIfNoTests = ITEST_FAIL_IF_NO_TEST
} catch (Throwable e) {
We have an internal build page setup that passes builds off via URL. This
method works fine but for some reason, although the job passes fine with
http://username:apitoken@jenkins-server
the build history doesn't show the user that kicked it off. If i submit via
the UI of Jenkins it does.
In Jenkins 2.19.2, I now have three different pipeline jobs using a
variation of the same script components, including a bunch of methods that
I've pasted into each script. I'm storing each script in git, but I think
it's now time to define a shared library so I can remove the duplicated
On Thursday, February 2, 2017 at 3:30:05 AM UTC-8, R Tyler Croy wrote:
>
> (replies inline)
>
> On Thu, 02 Feb 2017, Tor Christian Solev?gseide wrote:
>
> > I was finally able to solve this myself. The problem was how I
> referenced
> > the shared library. Apparently, I need to add the
The best way to find out is to try it. We're willing to help if you get
stuck, but you also need to try things yourself and figure things out.
We're not going to write your script for you.
On Thu, Feb 2, 2017 at 7:34 AM siva varma Datla
wrote:
> So you say this should
So you say this should work??
node {
if (result.toString() != "SUCCESS") {
notifyFailure()
} else {
notifySuccessful()
}
}
On Thursday, February 2, 2017 at 9:12:48 AM UTC-5, slide wrote:
>
> You are checking for != "SUCCESS" and then doing your success
> notification. You probably want
You are checking for != "SUCCESS" and then doing your success notification.
You probably want to swap the stuff inside the blocks.
On Thu, Feb 2, 2017, 07:08 siva varma Datla wrote:
> I need an email notification for my job status I have groovy syntax for if
> condition
I need an email notification for my job status I have groovy syntax for if
condition please let me know if I am doing it wrong. Using this syntax its
only pushing notification when ever my build is successful its not sending
any kind of notifications for failed build.
node {
if
I believe that you can define a JENKINS_HOME environment variable on the
slave node. Jobs running there will use that instead of the JAVA_HOME of
the master.
On Wednesday, February 1, 2017 at 4:48:52 PM UTC-5, Bruce Epstein wrote:
>
> Hi Everyone -
>
> I have one master and one slave node.
>
>
(replies inline)
On Thu, 02 Feb 2017, Tor Christian Solev?gseide wrote:
> I was finally able to solve this myself. The problem was how I referenced
> the shared library. Apparently, I need to add the underscore character to
> the end if my @Library annotation like this:
>
Another interesting thing I found that when I use the following "project /
'builders' / 'jenkins.plugins.publish__over__cifs.CifsPublisherPlugin'"
instead of CifsBuilderPlugin in the groovy script, it seems to populate the
values in the plugin in Jenkins Job configuration but I believe it gives
I was finally able to solve this myself. The problem was how I referenced
the shared library. Apparently, I need to add the underscore character to
the end if my @Library annotation like this:
@Library('customized-portal-lib') _
Also, I must make sure to not import my global *acme *variable.
Also, though it may or may not be related at all, you want to run an LTS
version.
Running an old weekly is not great because you might have chosen the wrong
one by chance (cannot check now).
IOW if you don't plan on upgrading like once a month or more, running a
weekly probably doesn't make
Hello
I'm not sure if this is the right forum. Apologizes if this is the wrong
place.
I have described the issue on
https://github.com/fabric8io/fabric8-pipeline-library/issues/69, but I dont
know exactly where is best to report this issue.
Can anyone tell me how I can run the following
29 matches
Mail list logo