jlangy opened a new issue, #3207:
URL: https://github.com/apache/camel-k/issues/3207

   Hello,
   
   I am trying to get [this 
example](https://github.com/apache/camel-k/tree/main/examples/jitpack) linked 
from the documentation for jitpack working in openshift. I am running the 
command `kamel run Jitpack.java --dev -d github:squakez/samplejp`. I get the 
following result:
   
   ``` sh
   Integration "jitpack" created
   Condition "IntegrationPlatformAvailable" is "True" for Integration jitpack: 
jon-test/camel-k
   Progress: integration "jitpack" in phase Initialization
   Progress: integration "jitpack" in phase Building Kit
   Integration "jitpack" in phase "Initialization"
   Condition "IntegrationPlatformAvailable" is "True" for Integration jitpack: 
jon-test/camel-k
   Integration "jitpack" in phase "Building Kit"
   Condition "IntegrationKitAvailable" is "False" for Integration jitpack: 
integration kit jon-test/kit-c9c7tcu9f9ajjakfc900 is in state "Build Running"
   Build "kit-c9c7tcu9f9ajjakfc900", created by Integration "jitpack", changed 
phase to "Initialization" (recovery 3 of 5)
   Build "kit-c9c7tcu9f9ajjakfc900", created by Integration "jitpack", changed 
phase to "Scheduling" (recovery 3 of 5)
   Build "kit-c9c7tcu9f9ajjakfc900", created by Integration "jitpack", changed 
phase to "Pending" (recovery 3 of 5)
   Build "kit-c9c7tcu9f9ajjakfc900", created by Integration "jitpack", changed 
phase to "Running" (recovery 3 of 5)
   Build "kit-c9c7tcu9f9ajjakfc900", created by Integration "jitpack", changed 
phase to "Failed" (recovery 3 of 5)
   Build "kit-c9c7tcu9f9ajjakfc900", created by Integration "jitpack", changed 
phase to "Initialization" (recovery 4 of 5)
   Build "kit-c9c7tcu9f9ajjakfc900", created by Integration "jitpack", changed 
phase to "Scheduling" (recovery 4 of 5)
   Build "kit-c9c7tcu9f9ajjakfc900", created by Integration "jitpack", changed 
phase to "Pending" (recovery 4 of 5)
   Build "kit-c9c7tcu9f9ajjakfc900", created by Integration "jitpack", changed 
phase to "Running" (recovery 4 of 5)
   (combined from similar events): Build "kit-c9c7tcu9f9ajjakfc900", created by 
Integration "jitpack", changed phase to "Failed" (recovery 4 of 5)
   (combined from similar events): Build "kit-c9c7tcu9f9ajjakfc900", created by 
Integration "jitpack", changed phase to "Initialization" (recovery 5 of 5)
   (combined from similar events): Build "kit-c9c7tcu9f9ajjakfc900", created by 
Integration "jitpack", changed phase to "Scheduling" (recovery 5 of 5)
   (combined from similar events): Build "kit-c9c7tcu9f9ajjakfc900", created by 
Integration "jitpack", changed phase to "Pending" (recovery 5 of 5)
   (combined from similar events): Build "kit-c9c7tcu9f9ajjakfc900", created by 
Integration "jitpack", changed phase to "Running" (recovery 5 of 5)
   (combined from similar events): Build "kit-c9c7tcu9f9ajjakfc900", created by 
Integration "jitpack", changed phase to "Failed" (recovery 5 of 5)
   (combined from similar events): Build "kit-c9c7tcu9f9ajjakfc900", created by 
Integration "jitpack", changed phase to "Error" (recovery 5 of 5)
   Integration Kit "kit-c9c7tcu9f9ajjakfc900", created by Integration 
"jitpack", changed phase to "Error"
   Progress: integration "jitpack" in phase Error
   Error: integration "jitpack" deployment failed
   ```
   
   I am pretty sure I'm doing something wrong with jitpack since changing the 
`Jitpack.java` file to exclude the dependency like so:
   
   ``` java
   import org.apache.camel.builder.RouteBuilder;
   
   public class Jitpack extends RouteBuilder {
     @Override
     public void configure() throws Exception {
         from("timer:tick?period=2000")
           .setBody()
             .simple("hello")
           .to("log:info");
     }
   }
   ```
   
   runs as expected. Thanks for your help! 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to