Answers: <p>It looks like you’re trying to delete resources with a specific label, but no resources were found. Here are a few things you might want to check:</p>
  <h3>Label Correctness</h3>
  <p>Ensure that the label <code>lightspeed-build-id=c4550abedf16474f</code> is correct and matches the resources you intend to delete.</p>
  <h3>Namespace</h3>
  <p>Verify that you are in the correct namespace. You can specify the namespace using the <code>-n</code> flag, like this:</p>
  <pre class="lang-sh prettyprint-override"><code>oc delete all -l lightspeed-build-id=c4550abedf16474f -n your-namespace
  </code></pre>
  <h3>Resource Existence</h3>
  <p>Double-check if the resources with that label actually exist. You can list resources with the label using:</p>
  <pre class="lang-sh prettyprint-override"><code>oc get all -l lightspeed-build-id=c4550abedf16474f
  </code></pre>
  <h3>Check Jenkinsfile version</h3>
  <p>I am quite surprised that the first step in Blue Ocean is different than the first step in the Jenkinsfile.
  Are you sure it is the same Jenkinsfile used for the job ? If you click on <strong>Replay</strong>, can you post the first step run in that stage ?</p>
  <p>If everything seems correct and you’re still facing issues, please share more details.</p>
  
Answers: CC BY-SA 4.0
Answers: 2024-08-16T15:42:57.720Z
Answers: 2024-08-16T15:42:57.720Z
Answers: YassineLbk
Body: <p>I have not been able to get past the Angular build step. I'm getting Resources not found and I don't know if it has to do with angular or something about configuration.
  I appreciate any help</p>
  <p>[2024-07-11T14:54:06.466Z] + oc delete all -l lightspeed-build-id=c4550abedf16474f
  [2024-07-11T14:54:08.457Z] No resources found
  <a href="https://i.sstatic.net/QNVNcZnZ.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/QNVNcZnZ.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.sstatic.net/4akCNhfL.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/4akCNhfL.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.sstatic.net/trmNthMy.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/trmNthMy.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.sstatic.net/rUaSL8Kk.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/rUaSL8Kk.png" alt="enter image description here" /></a></p>
  
Tags: <jenkins><jenkinsfile>
Title: Error in Angular Build step in Jenkins
UserDisplayName: Camilo2024
ThreadText: # Error in Angular Build step in Jenkins
  
  (Asked by: username_0 on 2024-07-11)
  
  I have not been able to get past the Angular build step. I'm getting Resources not found and I don't know if it has to do with angular or something about configuration.
  I appreciate any help
  
  [2024-07-11T14:54:06.466Z] + oc delete all -l lightspeed-build-id=c4550abedf16474f
  [2024-07-11T14:54:08.457Z] No resources found
  [![enter image description here](https://i.sstatic.net/QNVNcZnZ.png)](https://i.sstatic.net/QNVNcZnZ.png)
  
  [![enter image description here](https://i.sstatic.net/4akCNhfL.png)](https://i.sstatic.net/4akCNhfL.png)
  
  [![enter image description here](https://i.sstatic.net/trmNthMy.png)](https://i.sstatic.net/trmNthMy.png)
  
  [![enter image description here](https://i.sstatic.net/rUaSL8Kk.png)](https://i.sstatic.net/rUaSL8Kk.png)
  
  **Tags:** jenkins, jenkinsfile
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-08-16. Score: 0
  
  It looks like you’re trying to delete resources with a specific label, but no resources were found. Here are a few things you might want to check:
  
  ### Label Correctness
  
  Ensure that the label `lightspeed-build-id=c4550abedf16474f` is correct and matches the resources you intend to delete.
  
  ### Namespace
  
  Verify that you are in the correct namespace. You can specify the namespace using the `-n` flag, like this:
  
  ```sh
  oc delete all -l lightspeed-build-id=c4550abedf16474f -n your-namespace
  
  ```
  
  ### Resource Existence
  
  Double-check if the resources with that label actually exist. You can list resources with the label using:
  
  ```sh
  oc get all -l lightspeed-build-id=c4550abedf16474f
  
  ```
  
  ### Check Jenkinsfile version
  
  I am quite surprised that the first step in Blue Ocean is different than the first step in the Jenkinsfile.
  Are you sure it is the same Jenkinsfile used for the job ? If you click on **Replay**, can you post the first step run in that stage ?
  
  If everything seems correct and you’re still facing issues, please share more details.
  
  
  ---
  
  