Move work space in Jenkins File

41 views
Skip to first unread message

vinit ratan

unread,
Jan 3, 2019, 9:44:54 AM1/3/19
to Jenkins Users
Hi All,

Can some one please suggest the code to move work space to job screen in Jenkins file.

Thanks and Regards
Vinit Ratan
Automation Test Engineer
Infosys Ltd.

Neil T

unread,
Jan 3, 2019, 10:12:41 AM1/3/19
to Jenkins Users
Hi Vinit

The workspace is a file system. The job screen is HTML page.  What you are asking makes no sense (to me) unless you mean you want to archive artifacts produced by job/pipeline and have the linked in the job details screen ? In which case search on 'archiving artifacts'. It's easy with DSL.

vinit ratan

unread,
Jan 3, 2019, 10:57:58 PM1/3/19
to jenkins...@googlegroups.com
Hi Neil,

By default when we are using Jenkins Pipeline, in order to see workspace we need to follow below steps:-

Click on build no. => Click On Pipeline Steps=> Click on Allocate Node Start link.=> Here uset sees workspace on Left

However what we need is to have workspace on the project home page the way we see it in free style or other non pipeline projects. We do not want to go through the whole step mentioned above in order to see the workspace.

Hope this explains my query in a better way😊. So if you can please respond accordingly.

Thanks and Regards
Vinit Ratan
Automation Test Engineer
Infosys Ltd.
8600102248

On Thu, 3 Jan 2019, 20:52 Neil T <ne...@thump.org wrote:
Boxbe This message is eligible for Automatic Cleanup! (ne...@thump.org) Add cleanup rule | More info
Hi Vinit

The workspace is a file system. The job screen is HTML page.  What you are asking makes no sense (to me) unless you mean you want to archive artifacts produced by job/pipeline and have the linked in the job details screen ? In which case search on 'archiving artifacts'. It's easy with DSL.

On Thursday, 3 January 2019 14:44:54 UTC, vinit ratan wrote:

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/52fd712d-1cd7-46f1-a5ec-2c411785e08c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Neil Tingley

unread,
Jan 4, 2019, 9:46:24 AM1/4/19
to jenkins...@googlegroups.com

You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/RzgAxraKwMQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CABB%2BumPqLLNCCAibE8mWfBCpK_q3MP4rY7Br16E7h94KSFytPg%40mail.gmail.com.

vinit ratan

unread,
Jan 4, 2019, 10:07:54 AM1/4/19
to jenkins...@googlegroups.com
Hi Neil,

I have already tried the code present in link. However Jenkins file is not accepting the "a href" syntax and therefore it is not working. 

I have done some research from my end as well before posting in the group 😜

Thanks and Regards
Vinit Ratan
Automation Test Engineer
Infosys Ltd.
8600102248


Neil Tingley

unread,
Jan 4, 2019, 10:11:33 AM1/4/19
to jenkins...@googlegroups.com
What's the error you are getting?
Cheers,

Neil


vinit ratan

unread,
Jan 4, 2019, 10:15:32 AM1/4/19
to jenkins...@googlegroups.com
It is giving command not recognized short of error. I can give the complete error to you after some time.



Reply all
Reply to author
Forward
0 new messages