Thanks, so I need to do it this way?
{
pipeline{
node{
def pom = readMavenPom()
def version=pom.version
agent any
tools {
maven '3.x'
}
stages{}
}
}
}?
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group
If you´re inside a "node" and your workspace has a valid pom.xml file,
readMavenPom() should do the magic.
You could than acess the version using
def pom = readMavenPom()
def version = pom.version
Torsten
Am Sonntag, 4. Februar 2018 07:19:59 UTC+1 schrieb Hongguo An:
>
> Hi:
> I am using
Hi,
in our builld & deploy Pipeline we need to support TEST, INT as well as
PROD environment.
For accessing the TEST, INT environment we are allowed to store the
credentials in Jenkins (Credentials Binding plugin)
By using the "credentialsId" I can easily get the username/pwd and pass it
to
withDockerContainer(image: "centos:7", args: "--privileged") {
stage ('Negotiate World Peace') {}
stage ("Cure Cancer") {}
etc.
-aps
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and
I've set up a Jenkins environment inside of Tomcat as a webapp, and I have
it running rather well.
However, I noticed I cannot get tomcat to redirect jenkins to https -- or
anything for that matter - such that I've setup the web.xml and server.xml
properly - I can get to the https setup just
Hi,
How do you launch your builds? Pipeline/Freestyle?
Cheers
--
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.
During the process of migrating Jenkins server from one machine to another
machine I am facing a problem
1. I have a Ubuntu running Jenkins on 2.61.
2. I copied the folder /var/lib/jenkins
3. In new Ubuntu I installed Jenkins(same version 2.61)
4. I copied the entire back up from old ubuntu to
I have Googled this and still can't find as simple answer.
Is there a way to have Jenkins not clean up the container after a build? I
am having a build failure and I don't quite understand why (a file doesn't
exist when it should). But I have to replay the entire build which takes
about 40
I now dared to file https://issues.jenkins-ci.org/browse/JENKINS-49365
--
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
Just now we got one Multibranch pipeline to hang on git rev-list on a
project that has no git tags.
Running with latest Jenkins, git plugin, git-client plugin and git.
mandag 5. februar 2018 09.17.03 UTC+1 skrev Sverre Moe følgende:
>
> The problem occurred with the latest version of git plugin
The problem occurred with the latest version of git plugin and git client
plugin.
We have gotten the problem on projects that does not have many tags, aprox
300. We even got the problem on a project that has no tags at all.
We are back at running with the latest version after I tried to revert
11 matches
Mail list logo