You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
deployS3: org.apache.maven.plugin.MojoExecutionException: The region must be specified either in the plugin configuration (region), environment variable (AWS_REGION), system property (aws.region), AWS shared configuration file or instance metadata.
#17
Open
beautylim opened this issue
May 28, 2020
· 1 comment
This is how i use:
<plugin>
<groupId>com.github.davidmoten</groupId>
<artifactId>aws-maven-plugin</artifactId>
<executions>
<execution>
<id>upload-jenkins-files</id>
<phase>package</phase>
<goals>
<goal>deployS3</goal>
</goals>
<configuration>
<bucketName>${bucket.name}</bucketName>
<inputDirectory>${project.basedir}/src/build/jenkins</inputDirectory>
<outputBasePath>${jenkins.bucket.folder}</outputBasePath>
<awsAccessKey>${access.key}</awsAccessKey>
<awsSecretAccessKey>${secret.key}</awsSecretAccessKey>
<region>${region}</region>
</configuration>
</execution>
</executions>
</plugin>
The text was updated successfully, but these errors were encountered: