1. Mathias Scheck
  2. PowerBuilder
  3. Wednesday, 7 April 2021 15:21 PM UTC

Hello,

today, I´ve run in an error, while using the PB19-Compiler (pbc190.exe) with Jenkins.

Everytime i try to run this command:

pbc190.exe /d "C:\Projekte\CLI-Build-Test\TestApp2\testapp2.pbt" /o "C:\Projekte\executable\testapp2.exe" /pd n

via Jenkins I get the following error from the PB-Compiler:

C:\Projekte\CLI-Build-Test\TestApp2\testapp2.pbt
c:\projekte\cli-build-test\testapp2\testapp2.pbl 
	Creating compilation list...
	Creating c:\projekte\cli-build-test\testapp2\testapp2.pbl(testapp2.sra)...
	Creating c:\projekte\cli-build-test\testapp2\testapp2.pbl(w_main.srw)...
	Stage1 for c:\projekte\cli-build-test\testapp2\testapp2.pbl(testapp2.sra)...
	Stage1 for c:\projekte\cli-build-test\testapp2\testapp2.pbl(w_main.srw)...
	Stage2 for c:\projekte\cli-build-test\testapp2\testapp2.pbl(testapp2.sra)...
	Stage2 for c:\projekte\cli-build-test\testapp2\testapp2.pbl(w_main.srw)...
	Creating compilation list...
	Stage2 for c:\projekte\cli-build-test\testapp2\testapp2.pbl(testapp2.sra)...
	Stage2 for c:\projekte\cli-build-test\testapp2\testapp2.pbl(w_main.srw)...
	Regenerating c:\projekte\cli-build-test\testapp2\testapp2.pbl(testapp2.sra)...
	Regenerating c:\projekte\cli-build-test\testapp2\testapp2.pbl(w_main.srw)...
	Rebuild complete.
Create of executable file failed 
Creation of executable failed with a link error 

 

Jenkins gives me the response, that the job was successfully done.

I have no problems running the Compiler (with the same command) from my local machine.

 

Could you give me an advice, what causes the link error? Shall i use the AutoCompiler via Jenkins?

 

Best Regards,

 

Mathias Scheck

 

 

 

 

Phil Wallingford Accepted Answer Pending Moderation
  1. Friday, 9 April 2021 15:18 PM UTC
  2. PowerBuilder
  3. # 1

I've seen this error if the Application icon is not valid or if there are bad resources in a PBR.

Regards, Phil

Comment
There are no comments made yet.
Bruce Armstrong Accepted Answer Pending Moderation
  1. Wednesday, 7 April 2021 16:59 PM UTC
  2. PowerBuilder
  3. # 2

Should work fine.  Compare what you're doing with what I wrote here:

https://community.appeon.com/index.php/articles-blogs/tutorials-articles/2-powerbuilder/175-continuous-integration-with-powerbuilder-2017-bonobo-git-and-jenkins

Also, I later created Jenkins plugins to help facilitate the process.  That article contains a note at the top mentioning that.  A later article explaining how to use the plugins is here:

https://community.appeon.com/index.php/articles-blogs/tutorials-articles/2-powerbuilder/178-revisiting-continuous-integration-with-powerbuilder-2017-bonobo-git-and-jenkins

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.