Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Build definition to load code only

Hi,

Is there a way for me to create a build definition which, when a request is submitted, will only accept latest code change and fetch code into a file system I have specified? In other words, probably a generic build definition that finishes upon loading of the code? I've looked at the Generic Build Definition but it does not have the Jazz Source Control tab.

1

0 votes


Accepted answer

Permanent link
Hi Jesse,

I thought that it would be trivial, but I was completely wrong. I assumed you could add the Jazz SCM tab to the generic afterwards. Dead wrong.

What you could do is use a template like ANT or Commandline and just provide an Ant build that does nothing. I have not found a better way so far. Sorry. Feel free to file a work item and let us know the number here.


Jesse Timbang selected this answer as the correct answer

1 vote

Comments

Ralph's suggestion to use a command line or Ant build is a good one, and I'm glad to see you got it working.

The Generic build definition is intended for use when Ant or some other scripting environment, rather than JBE, is driving the builds, so it needs no configuration. For an example, see the standalone example included in the Build System Toolkit: buildsystem/buildtoolkit/examples/standalone/build.xml

Also note that it's possible to configure arbitrary options on a build, if you hold down Ctrl when choosing Edit Configuration from the build definition editor's header menu. JBE still won't let you run a Generic build definition though, since it requires a main phase to be configured, and that can't be edited via Edit Configuration.


One other answer

Permanent link
Hi Ralph, yes I think the Command Line - Jazz Build Engine definition suits my needs, in the Command Line tab, I can just put in dir or ls and the build reports show that the build is a success.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Aug 23 '12, 6:41 a.m.

Question was seen: 5,136 times

Last updated: Aug 23 '12, 1:28 p.m.

Confirmation Cancel Confirm