Discussion:
Jenkins not creating terraform
adrian lee
2018-10-16 18:55:12 UTC
Permalink
Hi all,

I have terraform installed in my usr/loca/bin.

I have jenkins stored in as my server and I have created a workspace with
k8_terraform_oci

Inside this folder, i have created another folder and placed my code
inside.

So I then triggered a build using but I keep getting a

[0m [1mInitializing provider plugins... [0m
- Checking for available provider plugins on https://releases.hashicorp.com...
[31m
[0m [1m [31mError installing provider "oci": failed to create plugin dir .terraform/plugins/linux_amd64: mkdir .terraform: permission denied. [0m [31m



Does anyone know?


Please help.
--
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-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/dc3b5422-305d-48dc-8fc3-9755c5148af2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jan Monterrubio
2018-10-16 22:24:01 UTC
Permalink
What are the permissions for the directory you’re launching this from?
Post by adrian lee
Hi all,
I have terraform installed in my usr/loca/bin.
I have jenkins stored in as my server and I have created a workspace with
k8_terraform_oci
Inside this folder, i have created another folder and placed my code
inside.
So I then triggered a build using but I keep getting a
[0m [1mInitializing provider plugins... [0m
- Checking for available provider plugins on https://releases.hashicorp.com...
[31m
[0m [1m [31mError installing provider "oci": failed to create plugin dir .terraform/plugins/linux_amd64: mkdir .terraform: permission denied. [0m [31m
Does anyone know?
Please help.
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/dc3b5422-305d-48dc-8fc3-9755c5148af2%40googlegroups.com
<https://groups.google.com/d/msgid/jenkinsci-users/dc3b5422-305d-48dc-8fc3-9755c5148af2%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CADgiF9LFb13%2BhNcCeYv0cFrnGCEiDYCfiONxgGwtmiAorNry0g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Loading...