My first approach was to simply:
public class JenkinsApiTest {
public void test() {
ItemGroupItem itemGroup = new MyItemGroup();
FreeStyleProject p = new FreeStyleProject(itemGroup, n0);
p.getConfigFile().asString();
}
this results in the AbstractProject constructor being
Ok makes sense but is possible to create eg. a FreeStyleProject /outside/ a
Junit TestRunner. Seems a bit strange that this can only be done through a
TestRunner.
--
View this message in context:
I am creating a FreeStyleProject using this test class:
import org.jvnet.hudson.test.HudsonTestCase;
import org.apache.commons.io.FileUtils;
import hudson.model.*;
import hudson.tasks.Shell;
public class AppTest extends HudsonTestCase
{
public void test1() throws Exception {
Thanks!
--
View this message in context:
http://jenkins.361315.n4.nabble.com/Developing-a-Jenkins-plugin-tp4646762p4646790.html
Sent from the Jenkins users mailing list archive at Nabble.com.
When you create a maven job on Jenkins you can enable Build whenever a
snapshot dependency has been build.
I would like to create the same functionality for a gradle job/free style
job as a plugin for jenkins and am therefore reading this guide:
This is a cross post from:
http://forums.gradle.org/gradle/topics/build_whenever_a_snapshot_dependency_is_built_gradle_jenkins_integration?rfm=1
When building a maven project on Jenkins its possible to specify the build
trigger:
Build whenever a SNAPSHOT dependency is built
This works out of
We have a bunch of gradle jobs that are build with the maven plugin meaning
that the build artifacts gets deployed to the local .m2 repo. On Jenkins we
have added 4 slaves each with its own .m2 repo.
We have two projects A and B where B depends on A. If A gets build on slave2
and B gets build on
In Jenkins ver. 1.483 its possible to specify a JDK to use when building eg.
a maven project. Now I need to specify this on the sub-module layer like:
parent
- child.a (jdk5)
- child.b (jdk6)
Is this currently supported in jenkins or are there any plans to support
this? I have tried to
I have installed Jenkins ver. 1.482 on an ubuntu machine and added a slave on
another Ubuntu machine. Under Jenkins -Configuration I have added jdk5,
jdk6 and jdk7 and checked install from java.sun.com.
Some of the jobs run on the slave needs to be build with jdk5 so in the
relevant job
my bad after closer inspection it was actually meant to fail with jdk5 :-)
--
View this message in context:
http://jenkins.361315.n4.nabble.com/Inheriting-JDK-installations-from-master-on-slave-tp4641292p4641307.html
Sent from the Jenkins users mailing list archive at Nabble.com.
Anyone found a plugin - or have written a script - for Jenkins that makes it
possible to specify a list of common gradle tasks (eg. clean --refresh
dependencies test install) for a set of jenkins jobs?
I have installed the Configuration Slicer plugin and it has this for maven
projects but not for
I am running Jenkins ver. 1.466.1 on an Ubuntu machine with Jenkins GIT
plugin 1.1.23.
Some of the jobs fetches changes from a git repository on another ubuntu
machine (running git version 1.7.10) using the following format under
Source code management in the job configuration:
12 matches
Mail list logo