CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Building with Jenkins

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
ironwill99



Joined: 03 Dec 2018
Posts: 2

View user's profile Send private message

Building with Jenkins
PostPosted: Mon Dec 03, 2018 12:01 pm     Reply with quote

We are trying to use Jenkins to automate the build process. I think Jenkins is getting stuck because of the compiler's status window. The compile process never completes. Has anyone used CCS with Jenkins and if so what command line switches did you use?

Here is the command I use.

start /b /wait "C:\Program Files (x86)\PICC\Ccsc.exe" +FH "main.c" +LN +T +A +M +Z +Y=9 +EA #__18F46K22=TRUE

Thanks!
Ttelmah



Joined: 11 Mar 2010
Posts: 19549

View user's profile Send private message

PostPosted: Mon Dec 03, 2018 1:15 pm     Reply with quote

On other tools, you need +PE.
That makes the status window only appear if there are errors.
ironwill99



Joined: 03 Dec 2018
Posts: 2

View user's profile Send private message

PostPosted: Mon Dec 03, 2018 1:31 pm     Reply with quote

Ttelmah wrote:
On other tools, you need +PE.
That makes the status window only appear if there are errors.


I just tried that and it still doesn't work. I'm not fond of the idea that if there is a compiler error my build server will get stuck.
Ttelmah



Joined: 11 Mar 2010
Posts: 19549

View user's profile Send private message

PostPosted: Mon Dec 03, 2018 2:23 pm     Reply with quote

+P01 will make it appear just for one second errors or not.

Normally even when using a build tool, it is useful to actually see errors.

However if +PN didn't fix it, suggests there is an error. Remember the compiler needs write permission to the directory where your file to be compiled is stored, and to where it's temporary files are. You may need to change the compatibility settings to the compiler to 'run as administrator'.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group