0

I have a shell script (file.sh) with echo message. Created self hosted agent in a Linux container with the help of Microsoft documentation.

Created a pipeline job with "Bash" task to run the shell script (file.sh).

End up with no outcome, though build successful. no error, no outcome on console. PFB error screen. please suggest.

enter image description here

enter image description here

Note: I am able to run same shell script from inside (docker exec -ti bash) the container.

4
  • Can you share pipeline definition? Commented Jun 14, 2021 at 19:09
  • Pipelien definition added. only one job with one task to run shell script inside docker-Ubuntu_Linux agent. Commented Jun 15, 2021 at 5:53
  • The script is just Hello world. | #!/bin/sh # This is a comment! echo Hello world | Commented Jun 15, 2021 at 5:55
  • Fixed this by making shell script executable (chmod +x file.sh) before commit and push it to git repo. Commented Jun 18, 2021 at 8:12

2 Answers 2

1

Try to enable the System.Debug variable to true. It should show from the right top

Sign up to request clarification or add additional context in comments.

Comments

0

Fixed this by making shell script executable (chmod +x file.sh) before commit and push it to git repo.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.